git@gitee.com: Permission denied (publickey).报错解决

Posted yangfei123

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git@gitee.com: Permission denied (publickey).报错解决相关的知识,希望对你有一定的参考价值。

windows 系统电脑,再一次更新git客户端后提交报错

[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. 

 解决方案

  先运行 eval `ssh-agent -s` 再输入 ssh-add ~/.ssh/id_rsa 就可以了

以上是关于git@gitee.com: Permission denied (publickey).报错解决的主要内容,如果未能解决你的问题,请参考以下文章