Windows下配置Git报错:Could not open a connection to your authentication agent.
============================================================
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
具体过程如下图所示:
============================================================