GIT_Error: Agent admitted failure to sign —— Permission denied (publickey).
问题:
# ssh 10.128.0.30
Agent admitted failure to sign using the key.
Permission denied (publickey).
在将自己的公钥添加到要登陆的机器上时,仍然不能免密码登陆,并出现以下提示:
Agent admitted failure to sign using the key.
需要进行以下操作即可解决:
ssh-add
# ssh -vT git@github.com
![](https://www.evernote.com/shard/s219/res/9c0f05bb-9241-4956-9748-b8e9be3ad8dd/QQ%E6%88%AA%E5%9B%BE20131009125014.png?resizeSmall&width=971)