执行 ssh-add 时显示错误 Could not open a connection to your authentication agent

先执行

eval `ssh-agent -s`

再执行 ssh-add 那条命令即可

 


 

(诊断)为GitHub添加SSH key时出现“Could not open a connection to your authentication agent”错误的应对方案(转) (bbsmax.com)

 

posted @ 2023-01-02 09:44  冬音  阅读(145)  评论(0编辑  收藏  举报