混帳克隆[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