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.cnblogs.com/surong/p/3359312.html