执行ssh-add时出现Could not open a connection to your authentication agent

Posted zqifa

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了执行ssh-add时出现Could not open a connection to your authentication agent相关的知识,希望对你有一定的参考价值。

若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可:

ssh-agent bash


更多关于ssh-agent的细节,可以用 man ssh-agent 来查看

以上是关于执行ssh-add时出现Could not open a connection to your authentication agent的主要内容,如果未能解决你的问题,请参考以下文章