$ ssh -T git @ github - permission denied (public key)


I'm first time GitHub user. I installed Git for Windows, following instructions: http://help.github.com/win-set-up-git/

Came to the point of generating a public ssh-key. Opened Git Bash. Generated the key, saved it on github.com in my SSH Public Keys, now trying ssh access:

$ ssh -T [email protected]
Permission denied (publickey).

What's wrong? The instruction sais that everything should go fine. Maybe I need to reboot or wait when github.com server gets to know my key?

Please help.

Thanks in advance!

You need to set up your ssh keys and then add your public key to your github account