2024年6月29日 星期六

REMOTE HOST IDENTIFICATION HAS CHANGED- 遠端連線同IP但主機變更出現的問題

當遠端連線的IP之前曾經連過,但該IP的主機變了,就會出下以下錯誤:


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

@    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:Z6o3XAafMD3s3RGM/s2sX1XYz8QXBwY2Aw+UhHc5cT4.

Please contact your system administrator.

Add correct host key in C:\\Users\\rex_h/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in C:\\Users\\rex_h/.ssh/known_hosts:27

Host key for 192.168.1.113 has changed and you have requested strict checking.

Host key verification failed.


重新移除先前儲存的ssh Key

ssh-keygen -R [ip]

沒有留言:

張貼留言