不能成功配置ssh信任,提示Agent admitted failure to sign using the key.
来源:互联网 发布:双十一数据增长文献 编辑:程序博客网 时间:2024/06/05 19:18
不能成功配置ssh信任,提示Agent admitted failure to sign using the key.
问题现象:
做完信任之后要需要输密码:
[grid@db01 .ssh]$ ssh db02Agent 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_rsaIdentity added: /home/grid/.ssh/id_rsa (/home/grid/.ssh/id_rsa)
总结:
让ssh-agent能转发,这样就可以这样登陆了:
阅读全文
0 0
- 不能成功配置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 问题
- 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
- 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
- ssh免密码登陆问题Agent admitted failure to sign using the key
- 解决 Agent admitted failure to sign using the key 问题 with ssh
- 第四周项目四 猴子选大王
- Unity3d打包APK出现的问题—无法找到tool.jar
- 21. Merge Two Sorted Lists
- Spring黑马笔记入门七
- H5的confirm(对话框)、prompt(输入框)、setInterval(循坏定时器)
- 不能成功配置ssh信任,提示Agent admitted failure to sign using the key.
- leetcode 100. Same Tree
- 无人值守自动安装Linux操作系统
- [BZOJ]4552 [TJOI2016] 排序 二分 + 线段树
- Arch 新增用户
- HTML5表单相关新增元素和属性
- Android 6.0 AppBarLayout+CollapsingToolbarLayout+NestedScrollView简单使用
- 生成二维码
- oracle10 数据库中 scott用户被锁与解锁