Error:Agent admitted failure to sign
在某些情况下,在Linux上通过ssh连接github/gitlab会产生错误“Agent admitted failure to sign using the key”.
| 1 | [root@192 gitlab]# git clone git@gitlab.xxx.net:leon.li/python-demo | 
解决方法
| 1 | [root@192 gitlab]# eval "$(ssh-agent -s)" | 
在某些情况下,在Linux上通过ssh连接github/gitlab会产生错误“Agent admitted failure to sign using the key”.
| 1 | [root@192 gitlab]# git clone git@gitlab.xxx.net:leon.li/python-demo | 
解决方法
| 1 | [root@192 gitlab]# eval "$(ssh-agent -s)" |