码迷,mamicode.com
首页 > 系统相关 > 详细

linux 远程连接ssh提示IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY解决

时间:2018-05-02 16:23:02      阅读:3018      评论:0      收藏:0      [点我收藏+]

标签:requested   校验   some   off   The   ica   报错信息   inux   ase   

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
SHA256:uHkeKkiLSxAIIGmk89BkPqq2zEfXKsiBdYDF3mwvq6A.
Please contact your system administrator.
Add correct host key in ~/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in ~/.ssh/known_hosts:24
ECDSA host key for 10.87.218.183 has changed and you have requested strict checking.
Host key verification failed.

 

报错信息里,写的很清楚了:

Offending ECDSA key in ~/.ssh/known_hosts:24

到known_hosts文件里删掉错误的主机SHA记录重新连接就ok了。

出现这种状况的原因可能是远端机器有所变化,导致的机器码SHA出现变化,校验不通过~

删除掉known_hosts对应ip的行,就可以了。

linux 远程连接ssh提示IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY解决

标签:requested   校验   some   off   The   ica   报错信息   inux   ase   

原文地址:https://www.cnblogs.com/suanec/p/8979549.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!