I have registered the ssh key for my machine on github and verified that it works by typing ssh [email protected] and receiving a response indicating successful authentication.
However, when I try and push my source code on the machine to my git repository I receive
Permission denied (publickey). fatal: The remote end hung up unexpectedly I have looked at other threads with the same problem as me and they all seem to recommend registering the ssh key with github which I have already done.
Edit: The contents of my .git/config file on my workstation
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = ssh://github.com/OSU-Net/list_expiration [branch "master"] remote = origin merge = refs/heads/master Any ideas?
git remote -v