Skip to main content

Ubuntu Linux and LOUD

"Remote Host Key Identification has Changed" error. How do I fix this?

This happens when the key stored on the machine you are connecting to has changed. This is to alert you of a possible man-in-the-middle attack. To fix this error and connect to the machine, run this command from a terminal prompt:

$ rm ~/.ssh/known_hosts

Or you could remove a specific Entry with the ssh-keygen command. Check out How to remove/update a specific Host Key for more information.

For a more in depth explanation of this problem and what it involves, please see http://www.vandyke.com/solutions/host_keys/changed.html, or for more information http://www.vandyke.com/solutions/host_keys/.

Documentation