ssh-add 报错 Could not open a connection to your authentication agent

ERROR:

[root@testcentos01 ~]# ssh-add 

Could not open a connection to your authentication agent

在shell下执行

ssh-agent bash --login -i

然后再执行ssh-add就ok了

原文地址:https://www.cnblogs.com/sussski/p/3823745.html