Could not open a connection to your authentication agent

米斯特程序猿 2021年07月30日 465次浏览

Could not open a connection to your authentication agent
解决方法:
执行:eval ssh-agent -s ,目的是启动 ssh-agent 代理,我自己出现这个问题是因为shh—agent 这个进程不存在造成
然后在执行:ssh-add ~/.ssh/id_rsa即可

参考1
参考2