SSH: Agent Admitted Failure To Sign Using The Key Error And Solution

来源:互联网 发布:远程监控plc知乎 编辑:程序博客网 时间:2024/04/27 17:23

SSH: Agent Admitted Failure To Sign Using The Key Error And Solution


To fix this problem you need logout of your Unix / Linux / OS X / BSD desktop session and log back in again to force the agent to forget identity. Another recommend option is to run the ssh-add command to add RSA or DSA identities to the authentication agent. This will fix your problem without login out from the current session. The syntax is as follows:

$ ssh-add

Pro tip: If your key located in different path or does not have the default filename, you will need to pass the path to ssh-add command as follows:

$ ssh-add /path/to/my/ssh_key
$ ssh-add ~/.ssh/server3_key

http://www.cyberciti.biz/faq/unix-appleosx-linux-bsd-agent-admitted-failuretosignusingkey/
0 0
原创粉丝点击