我按照here的描述做了。
当我跑步时:
ssh -T git@github.com
我明白了:
Hi my_name! You've successfully authenticated, but GitHub does not provide shell access.
然后,当我跑:
ssh-add -l
我明白了:
2048 fe:e1:11: ... /home/my_name/.ssh/id_rsa (RSA)
所以看起来很好,但是当我运行时:
git clone git@github.com:my_namer/mvc.git
我明白了:
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: Could not read from remote repository.
我做错了什么?我试图检查here但它没有帮助。
有人能帮助我吗?谢谢!
P.S。是的我看到了相关的问题,但我的问题没有解决办法,我尝试了这些解决方案: