执行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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

作者:小晨主
链接:https://www.jianshu.com/p/1dc426760e1d
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄