首页 > 其他 > 详细

Could not open a connection to your authentication agent

时间:2020-07-02 10:58:41      阅读:43      评论:0      收藏:0      [点我收藏+]

windows下在多个git服务器之间切换,需要使用 ssh-add.exe ~/.ssh/id_rsa_xxx 重新添加git密钥才能正常clone代码,其中“id_ras_xxx”是密钥的名字,比如本人github所用的密钥名为id_rsa_github(这里需要注意不要同公钥发生混淆,公钥名为id_rsa_github.pub)。

提示“ Could not open a connection to your authentication agent”,是因为你没有启动ssh-agent,解决方法简单:

eval `ssh-agent -s`

Could not open a connection to your authentication agent

原文:https://www.cnblogs.com/xiejake/p/13223449.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!