I followed this tutorial to generate SSH key on github:
At step number 5 of the above linked tutorial,after I type ssh -T git@github.com I am supposed to see this:
The authenticity of host 'github.com (207.97.227.239)' can't be established.
# RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
# Are you sure you want to continue connecting (yes/no)?
I, however, see this:
Agent admitted failure to sign using the key.
Permission denied (publickey).
Then later when I tried to push a file to repository using git push -u origin master, I get this:
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
I think the problem is with the set up of SSH key.
How can I get solve this problem?
I am using Linux.
After googleing I found that most possible chances is that your key is corrupt.
and the things that you can try is…
and
ssh-addis also the one which has solve the problem of lots of peoplessh-add ~/.ssh/id_rsatry logout and login
or
hear is few more things that you can try http://sampathm.blogspot.in/2011/06/agent-admitted-failure-to-sign-using.html
and
SSH cannot authenticate to git@github.com
hope this help