首页 > 其他 > 详细

解决 Agent admitted failure to sign using the key 问题 with ssh

时间:2016-04-08 14:58:02      阅读:138      评论:0      收藏:0      [点我收藏+]

之前如果建立 ssh 连接,
只要將公鑰複製到 ~/.ssh/authorized_keys 就可以利用金鑰登入
而不需要建立密碼.

現在的 ssh 使用同樣的方法會出現錯誤訊息

Agent admitted failure to sign using the key


解決方式 使用 ssh-add 指令將私鑰 加進來 (根据个人的密匙命名不同更改 id_rsa)
# ssh-add   ~/.ssh/id_rsa  

解决 Agent admitted failure to sign using the key 问题 with ssh

原文:http://www.cnblogs.com/felixzh/p/5367891.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!