Agent admitted failure to sign using the key

SSH生成id_rsa, id_rsa.pub后,连接服务器却报:

Agent admitted failure to sign using the key

错误。


解决方法:

在当前用户下执行命令:

ssh-add

即可解决。



参考:

[1] http://blog.sina.com.cn/s/blog_671dff260100ps66.html

原文地址:https://www.cnblogs.com/1130136248wlxk/p/5204155.html