不灭的焱

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2013-03-02 13:57:18  修改时间:2024-04-19 12:10:01  分类:Linux基础  编辑

执行 添加私钥命令时

ssh-add ~/.ssh/id_rsa_wenjianbao

报错:

Could not open a connection to your authentication agent.

 

解决方案:

# 启动 ssh-agent
eval `ssh-agent -s`

# 添加私钥到 agent
ssh-add ~/.ssh/id_rsa_wenjianbao

 

 

参考:

could-not-open-a-connection-to-your-authentication-agent

解决git bash中执行“ssh-add pathName”时出现“Could not open a connection to your authentication agent.”

解决cygwin下的“Could not open a connection to your authentication agent.”