git pull的时候遇到Permission denied (publickey).

http://androidren.com/index.php?qa=400&qa_1=git-pull%E7%9A%84%E6%97%B6%E5%80%99%E9%81%87%E5%88%B0permission-denied-publickey

现象:
forlong401$ git pull
Permission denied (publickey).
fatal: Could not read from remote repository.
 
Please make sure you have the correct access rights
and the repository exists.
 
原因:
ssh登录操作时,本地 key失效造成的。
 
解决:
forlong401$ ssh-add ~/.ssh/id_rsa

阅读更多

没有更多推荐了,返回首页