SSH 出现警告 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
1
ssh pi@192.168.1.99
使用 SSH 连接树莓派时出现下面的警告:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ED25519 key sent by the remote host is SHA256:
Please contact your system administrator. Add correct host key in /Users/chunlicheng/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/chunlicheng/.ssh/known_hosts:23 Host key for 192.168.1.99 has changed and you have requested strict checking. Host key verification failed.