ssh连接报错

2021-03-05  本文已影响0人  慕知
报错如下


zydeMacBook-Pro:~ zy$ ssh [root@192.168.17.134](mailto:root@192.168.17.134)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ 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:eEF5M1kU86ZABxq6DemeoQIBSYjI+dUhXjN9ohuz+Xs.

Please contact your system administrator.

Add correct host key in /Users/zy/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/zy/.ssh/known_hosts:4

ECDSA host key for 192.168.17.134 has changed and you have requested strict checking.

Host key verification failed.


解决方案:
mv ~/.ssh/known_hosts /tmp(移除文件即可)


尽量不要用rm ,养成好的习惯

上一篇下一篇

猜你喜欢

热点阅读