不能成功配置ssh信任,提示Agent admitted failure to sign using the key.
2017-10-08 18:58
621 查看
不能成功配置ssh信任,提示Agent admitted failure to sign using the key.
问题现象:
做完信任之后要需要输密码:
原因:
GNOME 用户会在尝试通过 SSH 连接到 GCE 时偶尔会看到 "Agent admitted failure to sign using the key" 信息。这是由尝试使用错误 SSH 密钥的 GNOME 密钥环管理造成,
解决办法:
启用ssh-agent:
[grid@db02 ~]$ eval `ssh-agent`
Agent pid 6078
使用 ssh-add 指令将私钥 加进来 (根据个人的密匙命名不同更改 id_rsa)
[grid@db02 ~]$ ssh-add ~/.ssh/id_rsa
Identity added: /home/grid/.ssh/id_rsa (/home/grid/.ssh/id_rsa)
总结:
让ssh-agent能转发,这样就可以这样登陆了:
问题现象:
做完信任之后要需要输密码:
[grid@db01 .ssh]$ ssh db02 Agent admitted failure to sign using the key. grid@db02's password:
原因:
GNOME 用户会在尝试通过 SSH 连接到 GCE 时偶尔会看到 "Agent admitted failure to sign using the key" 信息。这是由尝试使用错误 SSH 密钥的 GNOME 密钥环管理造成,
解决办法:
启用ssh-agent:
[grid@db02 ~]$ eval `ssh-agent`
Agent pid 6078
使用 ssh-add 指令将私钥 加进来 (根据个人的密匙命名不同更改 id_rsa)
[grid@db02 ~]$ ssh-add ~/.ssh/id_rsa
Identity added: /home/grid/.ssh/id_rsa (/home/grid/.ssh/id_rsa)
总结:
让ssh-agent能转发,这样就可以这样登陆了:
相关文章推荐
- SSH无密码登陆Agent admitted failure to sign using the key
- 解决 Agent admitted failure to sign using the key 问题 with ssh & repo
- SSH: Agent Admitted Failure To Sign Using The Key Error And Solution
- Ubuntu 14.04 SSH bug for “Agent admitted failure to sign using the key”
- ssh时出现 Agent admitted failure to sign using the key
- ssh免密码登陆问题Agent admitted failure to sign using the key
- ssh localhost执行时报错:Agent admitted failure to sign using the key
- SSh Agent admitted failure to sign using the key
- ssh无密码登录报错:Agent admitted failure to sign using the key
- 针对ssh免密码登录出现Agent admitted failure to sign using the key
- Agent admitted failure to sign using the key
- Agent admitted failure to sign using the key
- Agent admitted failure to sign using the key
- 解决 Agent admitted failure to sign using the key 问题 with ssh
- Agent admitted failure to sign using the key
- 解决 Agent admitted failure to sign using the key 问题 with ssh
- 解决 Agent admitted failure to sign using the key 问题 with ssh
- Agent admitted failure to sign using the key
- 关于ssh报错:Agent admitted failure to sign using the key.
- 如何解决Agent admitted failure to sign using the key.问题