Git Bash for Windows add ssh key时报Could not open a connection to your authentication agent.

$ ssh-add id_rsa_bitbucket
Could not open a connection to your authentication agent.

 

运行:

$ ssh-agent bash

 

然后:

$ ssh-add id_rsa_bitbucket
Identity added: id_rsa_bitbucket (id_rsa_bitbucket)

 

就ok了

posted @ 2017-03-05 17:31  Joynic  阅读(174)  评论(0编辑  收藏  举报