您当前的位置: 首页 >  ide

衣舞晨风

暂无认证

  • 1浏览

    0关注

    1156博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

ssh登陆 “remote host identification has changed!“ 解决方案

衣舞晨风 发布时间:2018-01-12 19:19:04 ,浏览量:1

具体错误信息如下:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
52:e3:eb:82:74:18:4a:08:2d:19:d3:91:3a:71:da:0c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:97
ECDSA host key for 10.10.140.114 has changed and you have requested strict checking.
Host key verification failed.
lost connection


解决办法:

vi /etc/ssh/ssh_config
StrictHostKeyChecking no

或者

将ssh源主机(输入ssh命令的机器)中/root/.ssh/known_hosts中对应机器ip的信息删除

拓展阅读: http://www.51testing.com/html/38/225738-234384.html

个人微信公众号: 这里写图片描述

作者:jiankunking 出处:http://blog.csdn.net/jiankunking

关注
打赏
1647422595
查看更多评论
立即登录/注册

微信扫码登录

0.0689s