git:could not open a connection to your authentication agent 错误: vagrant@homestead:~/Code/sample$ git push -u origin master git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have t…
$ ssh-add ~/.ssh/id_rsa.pub Could not open a connection to your authentication agent. 启动ssh-agent服务 eval `ssh-agent -s` 再运行 $ ssh-add Identity added: /c/Users/name/.ssh/id_rsa (/c/Users/name/.ssh/id_rsa) 参考链接:http://stackoverflow.com/questions/178465…
$ ssh-add id_rsa_bitbucketCould not open a connection to your authentication agent. 运行: $ ssh-agent bash 然后: $ ssh-add id_rsa_bitbucketIdentity added: id_rsa_bitbucket (id_rsa_bitbucket) 就ok了…
若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可: ssh-agent bash 更多关于ssh-agent的细节,可以用 man ssh-agent 来查看…