ERROR:

[root@testcentos01 ~]# ssh-add 

Could not open a connection to your authentication agent

 

在shell下执行

ssh-agent bash --login -i

然后再执行ssh-add就ok了

相关文章: