I can't login to github with generated ssh-keys. I've followed this manual: http://help.github.com/linux-key-setup but at step:
I get:
Agent admitted failure to sign using the key. Permission denied (publickey).
What's wroing? And, of course, I'm adding my own user email.
Tried dsa-key, the same thing.
This issue occurs mainly due to the following reasons :
If you are sure your public key is correct, then check the format of public key in your ~/.ssh folder in your machine. For openssh you cannot use a public key in puttygen format and visa-versa. To change the format you can use the following command using your private key
$ ssh-keygen -e -f ~/.ssh/id_rsa > ~/.ssh/id_rsa_com.pub
$ ssh-keygen -i -f ~/.ssh/id_rsa_com.pub > ~/.ssh/id_rsa.pub
Finally check if you have added your keys to the ssh client in your system. You can do so by using the following commands
$ eval "$(ssh-agent -s)"
$ ssh-add
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With