git Permission denied (publickey). fatal: Could not read from remote repository.
·
即使已经在Github中配置了私钥,但是在执行git pull的时候出现如下的错误:
Permission denied (publickey).
fatal: Could not read from remote repository.
这是因为没有将ssh加入到验证ssh-agent中,可以通过以下的方式添加
ssh-add -K ~/.ssh/id_rsa
完整说明参照官网文档
参考:
更多推荐
所有评论(0)