问题:命令 ssh pi@192.168.100.28
出现一下问题
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:WxKgq8fuGip8UuChlkCjt66JAAgWTTbdbRVnpeZ2ULA.
Please contact your system administrator.
Add correct host key in C:\Users\Administrator/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\Users\Administrator/.ssh/known_hosts:1
ECDSA host key for 192.168.100.28 has changed and you have requested strict checking.
Host key verification failed.
解决办法:
ssh-keygen -R 192.168.100.28
出现:
C:\Users\Administrator/.ssh/known_hosts updated.
Original contents retained as C:\Users\Administrator/.ssh/known_hosts.old
重新输入:
ssh pi@192.168.100.28
就可以了