Hi I’m trying to clone my project from github repo. I’ve added Public Key, tested ssh with ssh -T git@github.com successfully. but when I try to clone one of my projects I get the following message:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
It could be many things. There are explicit instructions how how to debug this issue at
http://help.github.com/ssh-issues/
You are basically going to have to try to ssh to github with verbose logging, and it should tell you what the issue is. Probably a permissions issue on your public key file….