Windows下配置Git报错:Could not open a connection to your authentication agent.
2017-06-10 23:18
921 查看
============================================================
Windows下安装配置Git时,常有错误解决方法详解:
◆在添加秘钥命令时报错:Could not open a connection to your authentication agent.
ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
◆解决方法:
1、先执行eval `ssh-agent -s`或者
eval `ssh-agent` 都可以
2、再次执行
ssh-add ~/.ssh/id_rsa
3、接着添加公钥即可cat ~/.ssh/id_rsa.pub
具体过程如下图所示:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201910/18/2a14f6a6082435b92225b0f7d28c6b55)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201910/18/da149ec9c92f7a94a8655fa41ee2d779)
============================================================
Windows下安装配置Git时,常有错误解决方法详解:
◆在添加秘钥命令时报错:Could not open a connection to your authentication agent.
ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
◆解决方法:
1、先执行eval `ssh-agent -s`或者
eval `ssh-agent` 都可以
2、再次执行
ssh-add ~/.ssh/id_rsa
3、接着添加公钥即可cat ~/.ssh/id_rsa.pub
具体过程如下图所示:
============================================================
相关文章推荐
- 在windows的git上用ssh-add添加私钥id_rsa报错——Could not open a connection to your authentication agent.
- 配置gitssh出现Could not open a connection to your authentication agent.
- 解决git客户端MINGW32下的“Could not open a connection to your authentication agent.”
- GitHub Windows Could not open a connection to your authentication agent.
- Git 添加 SSH-KEY 报错 Could not open a connection to your authentication agent. 的解决办法
- Git 报错Git Bash: Could not open a connection to your authentication agent
- git ssh-add 报错 ssh-add Could not open a connection to your authentication agent
- git:could not open a connection to your authentication agent问题的解决(重新绑定私钥)
- 执行ssh-add时出现Could not open a connection to your authentication agent
- ssh-add 报错 Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent 问题解决方案
- ssh-add时候提示Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent.
- 解决cygwin下的“Could not open a connection to your authentication agent.”
- 执行ssh-add时出现Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent.
- Github Error: Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent
- 执行ssh-add时出现Could not open a connection to your authentication agent
- windows ssh-add Could not open a connection to your authentication agent.