若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可:
ssh-agent bash
更多关于ssh-agent的细节,可以用 man ssh-agent 来查看
作者:zqifa
本文介绍了一种常见的SSH连接错误“Could not open a connection to your authentication agent”及其解决方案。通过执行“ssh-agent bash”命令可以有效解决此问题,使SSH密钥能够正常工作。
若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可:
ssh-agent bash
更多关于ssh-agent的细节,可以用 man ssh-agent 来查看
作者:zqifa
252

被折叠的 条评论
为什么被折叠?
