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


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

git@gitee.com: 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 就可以了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM