zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Could not open a connection to your authentication agent

to not open could your Connection Agent authentication
2023-09-11 14:19:35 时间

执行ssh-add ~/.ssh/rsa  就会遇到上述错误了

 

解决方案:

先执行  eval `ssh-agent`  (是~键上的那个`)

再执行 ssh-add ~/.ssh/rsa成功

ssh-add -l 就有新加的rsa了

 

然后就可以clip ~/.ssh/id_rsa.pub了,然后paste到github上

 

reference:

http://blog.chinaunix.net/uid-22355887-id-3342499.html