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

➜  ~ ssh adleytales@192.168.1.103
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:R/oFhQNPZx/SsQyCsIv3WIywpLE/1EfBtBKWulm10Lg.
Please contact your system administrator.
Add correct host key in /Users/pengliangqie/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/pengliangqie/.ssh/known_hosts:8
ECDSA host key for 192.168.1.103

解决办法:

rm -rf ~/.ssh/known_hosts

重新ssh连接就可以了!

以上就是linux远程连接ssh提示IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY如何解决的详细内容,更多请关注www.sxiaw.com其它相关文章!