执行 添加私钥命令时
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.”