SSH链接问题 Host key verification failed
2018-03-21 18:28
691 查看
1.当换了主机连接的时候,如果ip地址不一样,连接的时候会报如下的错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 isSHA256:X7t3q9KPoEBAjfkxTcMHguxbz9hnP9+cnJro8nRAZTk.Please contact your system administrator.Add correct host key in /Users/rs/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /Users/rs/.ssh/known_hosts:5ECDSA host key for 172.16.36.148 has changed and you have requested strict checking.Host key verification failed.
解决办法:
连接机进入~/.ssh/文件夹 编辑known_hosts文件,删除文件相应地址的错误的密钥文件保存重新连接即可
相关文章推荐
- scp或ssh登录时遇到Host key verification failed问题的解决方法
- scp或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-copy-id 遇到ERROR: 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连接服务器报错(1、Host key verification failed. 2、Permission denied (publickey))