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:
ssh git@github.com
<
I was able to get gitlab working thanks to this thread (I know that's not github).
I too found the answer by @jamesw to be correct.
I ended up having to delete my known_hosts
file and recreate my ssh key with the same password as my gitlab account.
Then I did the ssh-add
and did a git push -u origin master
. Success!
Thanks for the help everyone.
UPDATE:
I decided to remake my ssh key without a password and ran into this error again.
This time, I was able to copy my old known_hosts
to the new .ssh/
and simply run the ssh-add
.