混帐克隆[email protected]*********
会失败,出现信息:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我在互联网上搜索了很多次。 答案通常是关于公钥是否错误等等。然而 当我尝试的命令
SSH -T [email protected]
它工作..
和我的id_rsa.pub是刚刚加入GitHub上,当我使用上面的命令我可以看到我的SSH密钥Last used within the last day
所以我不明白什么是我的git.feel这么糟糕的T^T.我的早上只是在这个问题上的工作,并寻找解。
我的系统是macOS
感谢您的回答。
你见过[this SO post](http://stackoverflow.com/questions/2643502/git-permission-denied-publickey)?有22个答案,他们都看起来很有帮助。 –
这是一个私人存储库吗?您是否可以使用您的公钥登录到另一台服务器? (你是否明白如何设置公钥认证一般?) – janos