解决办法如下:
用 Git GUI 生成一个 SSH-KEY,然后添加到 GitLab 即可
参考资料:
1、GitHub Windows 下第一次折腾记录
http://blog.csdn.net/wswqiang/article/details/7200022
2、Could not open a connection to your authentication agent
https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent
2018。4。10
今天找到了另外一种解决办法
先执行
$ ssh-agent bash
再执行
$ ssh-add id_rsa_github
亲测有效
http://www.cnblogs.com/sheldonxu/archive/2012/09/17/2688281.html