Zum Hauptinhalt wechseln

SSH Fehlermeldung: REMOTE HOST IDENTIFICATION HAS CHANGED

Beim Login via SSH erscheint folgendes Warning:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:YoCFMivODAbDQ025xhvKb8z0LORrij3kTeS5Q8mX1Fg.
Please contact your system administrator.
Add correct host key in /home/MY_USER/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /home/MY_USER/.ssh/known_hosts:8
Host key for MY_IP has changed and you have requested strict checking.
Host key verification failed.

Lösung:

bash> cd .ssh/
bash> ssh-keygen -R MY_IP

# Host MY_IP found: line 8
/home/MY_USER/.ssh/known_hosts updated.
Original contents retained as /home/MY_USER/.ssh/known_hosts.old

 

Kommentare

Noch keine Kommentare zu diesem Beitrag.