Skip to content

REMOTE HOST IDENTIFICATION HAS CHANGED error in SSH – why it appears and how to fix it

What to do if WARNING REMOTE HOST IDENTIFICATION HAS CHANGED and Host key verification failed appear when you connect via SSH. Why the server key changes after an OS reinstall, how to check the fingerprint and remove the old key with the ssh-keygen -R command on Windows, macOS and Linux.