ssh 连接的时候 Host key verification failed.
来源:互联网 发布:linux虚拟机和双系统 编辑:程序博客网 时间:2024/05/21 06:18
这是我删除了一台virtual machine以后,又重新create了一台,然后它的端口号什么的内容也和之前被删除的那台虚拟机一模一样,于是报错:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
ac:e5:b2:33:93:00:c7:da:30:86:a1:19:3b:f7:68:2f.
Please contact your system administrator.
Add correct host key in /home/kehl/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/kehl/.ssh/known_hosts:5
remove with: ssh-keygen -f "/home/kehl/.ssh/known_hosts" -R [osslab.chinacloudapp.cn]:6022
ECDSA host key for [osslab.chinacloudapp.cn]:6022 has changed and you have requested strict checking.
Host key verification failed.
lost connection
这是因为之前的连接信息保存在~/.ssh/known_hosts文件中,而由于目标主机的host name和端口号与之前的virtual machine都相同,所以出现了host key不匹配的问题,如果删除掉known_hosts文件,那么旧的host key都会被删除,那么在ssh其他服务器的时候就会重新建立host key文件。
vi ~/.ssh/known_hosts
- SSH连接的时候Host key verification failed.
- ssh 连接的时候 Host key verification failed
- ssh连接的时候出现Host key verification failed.
- ssh 连接的时候 Host key verification failed.
- ssh连接的时候出现Host key verification failed.
- SSH连接的时候Host key verification failed
- ssh连接的时候出现Host key verification failed.
- SSH连接失败:Host key verification failed
- ssh host key verification failed
- SSH免密码登录连接失败:Host key verification failed
- ssh连接出现Host key verification failed.问题
- SSH连接时出现Host key verification failed的原因及解决方法
- SSH连接时出现Host key verification failed的原因及解决方法
- SSH连接时出现Host key verification failed的原因及解决方法
- SSH连接时出现Host key verification failed的原因及解决方法
- SSH 登录失败:Host key verification failed 的处理方法
- SSH 登录失败:Host key verification failed 的解决方法
- ssh中“Host key verification failed.“的解决方案
- ext+模态窗口+下载
- 计算机操作系统--读写者问题
- 思科linksys-wap54g无线ap
- oracle导入导出exp/imp 及imp-00037错误
- 拓扑排序(好题)hdu3231
- ssh 连接的时候 Host key verification failed.
- Sonatype Nexus 搭建Maven 私服
- ModelAndView详解
- poj 2178 Beauty Contest[最远点对]
- measureChildren的工作原理
- [mysql]mac在命令行使用mysql
- Ubuntu 14.04输入法安装
- HashSet原理
- 最小生成树-kruskal模板