您的位置:首页 > 运维架构 > Linux

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

2018-01-03 20:22 417 查看
mac 下连接 linux 一般只需要 输入 ssh 用户名@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 RSA key sent by the remote host is
SHA256:umhwOOOtcz2P6sNppUC2kz0rTluDfynGhVKIkwQwnT8.
Please contact your system administrator.
Add correct host key in /Users/liuyanzhao/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/liuyanzhao/.ssh/known_hosts:4
RSA host key for 101.112.11.111 has changed and you have requested strict checking.
Host key verification failed.

解决办法如下

输入

rm -rf ~/.ssh/known_hosts  

然后重新连接即可。



本文地址:https://liuyanzhao.com/6338.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐