今天ssh出现了Host key verification failed.
pengxiao@MacBook-Pro ~ % ssh -l root 192.168.0.106
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:TX/kH7DMNLD00SMBw82DtVE0qSrpIQLcyMNmXQA5ovI.
Please contact your system administrator.
Add correct host key in /Users/pengxiao/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/pengxiao/.ssh/known_hosts:32
ECDSA host key for 192.168.0.106 has changed and you have requested strict checking.
Host key verification failed.
网上查看通过一下命令解决
ssh-keygen -R 你要访问的IP地址
ssh-keygen -R 192.168.0.106
再次ssh问题解决