解决Agent admitted failure to sign using the kye with ssh
之前如果建立 ssh 连接,只要將公匙复制到~/.ssh/authorized_keys就可以直接登录而不需要建立密碼.
如果在使用时候出现如下信息:
Agent admitted failure to sign using the key
解決方式:
验证产生的key时候已经加入到ssh中,使用ssh-add –l进行查看
如果没有打印出如上信息,你必须将私匙添加到ssh中,通过ssh-add path/to/key
#ssh-add ~/.ssh/id_rsa
例如:ssh-add ~/.ssh/jibo.tiger@gmail.com
Note:
在大多数系统中,都回默认将 ~/.ssh/id_rsa,~/.ssh/id_dsa, 和~/.ssh/identity自动添加到ssh中。如果你重新生成了新的key,那么你必须使用使用 ssh-addpath/to/key手动添加。
转载于:https://blog.51cto.com/tigerjibo/1275996
解决Agent admitted failure to sign using the kye with ssh相关推荐
- 解决 Agent admitted failure to sign using the key 问题 with ssh
配置ssh 之前要在本机上装上ssh,可以通过sudo apt-get install ssh或者通过新立德来安装.如果没有进行配置的话,登录到本机或者远程主机需要该主机的密码才行.下面进行无密码登录 ...
- ssh时出现 Agent admitted failure to sign using the key
在将自己的公钥添加到要登陆的机器上时,仍然不能免密码登陆,并出现以下提示: Agent admitted failure to sign using the key. 需要进行以下操作即可解决: ss ...
- Agent admitted failure to sign using the key
SSH生成id_rsa, id_rsa.pub后,连接服务器却报: Agent admitted failure to sign using the key 错误. 解决方法: 在当前用户下执行命令: ...
- GIT_Error: Agent admitted failure to sign —— Permission denied (publickey).
问题: # ssh 10.128.0.30 Agent admitted failure to sign using the key. Permission denied (publickey). 在 ...
- 解决 Agent JAR loaded but agent failed to initialize
在使用agent进行动态替换class时遇到错误 完整错误错误信息 com.sun.tools.attach.AgentInitializationException: Agent JAR loade ...
- 【Root踩坑记录】nexus谷歌亲儿子刷机体验,解决data transfer failure
nexus5安装 data transfer failure (too many links) 报错解决记录(第4步) 1.驱动很关键,不仅仅是adb连接上就可以的 https://androidmt ...
- 完美解决“The identity used to sign the executable is no longer valid.”问题
之前几次x-code都是好好的,不知道怎么回事,今天跑起x-code准备进行真机调试的时候却出现"The identity used to sign the executable is no ...
- 详细解决Communications link failure
大家按照下面三个方法试一下一定能解决的: 首先,可能是你不小心把后台的mysql进程杀死了!!! 1.点击管理 2.点击服务和程序 3.点击服务找到mysql,右键选择启动或者重新启动 第二种就是加上 ...
- 解决git的Enter passphrase for key '/c/Users/Administrator/.ssh/id_rsa'问题
我遭遇的问题是在git的bash上每次提交都弹出"Enter passphrase for key '/c/Users/Administrator/.ssh/id_rsa'"的提示 ...
最新文章
- Java中final变量的初始化方式
- IPSec ***和SSL ***两种***的安全风险比较
- java gui拖拽_Java Swing拖放
- 第十九期:HTTPS虐我千百遍,我却待她如初恋!
- Spring Boot 实用开发技巧————Eclipse 远程调试
- Window插件获取窗口坐标
- TIOBE 4 月编程语言排行榜:Python 让位,老将 C++ 夺回前三,PHP 惨遭抛弃!
- StrangeIoC —— Unity MVC 专属框架
- jdom解析xml文件_JDOM编辑XML文件示例
- 微软推出的在线代码查看神器github1s
- 毕设题目:Matlab元胞自动机交通流
- Json数据转化为DataTable的两种方法(vb.net)
- workFlow学习总结---------------------常用的工作流引擎
- 太阳能逐日自动跟踪系统实训装置QY-T28
- wex5 checkbox
- DeskSpace-适用于Vista的类似Beryl的3D多维数据集虚拟桌面管理器
- Chrome浏览器取色器
- 常规设置——SDKMAN
- java xml 方法_Java读取xml的四种方式
- 大数据在 IoT 的应用
热门文章
- Java多线程概念[同步容器,并发容器](二)
- Elasticsearch6.x和Kibana6.x的安装
- 【Interfacenavigation】通过《include/》重新使用布局(9)
- Linux的企业-Codis 3集群搭建详解
- 两家美国科技公司被骗走一亿美元
- 让VMware ESXi 5.5与Windows时间服务器同步
- php 最大限制,php – ModSecurity最大发布限制(PCRE限制错误)
- 打开html文件图片为什么没有_提高网站打开速度秘诀:压缩html,Javascript和CSS文件...
- 用c语言枚举计算坐标,来个c++枚举有效范围计算器
- linux drm 内存管理,Linux RK3399 DRM 框架及代码流程 · Younix’s Studio