Mac OS X Remove SSH Known Host Print

  • 14

If you've recently rebuild the server you may get an error something like this:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is

To remove the current RSA key, please do the following:

1. Open Terminal
2. Perform one of these commands:
ssh-keygen -R server-name
ssh-keygen -R server.IP address
ssh-keygen -R 216.99.153.26
ssh-keygen -R server1.example.com
After that's done, you should be able to SSH back into your server.

Was this answer helpful?

« Back
  • US/Canada: 800-933-1517
  • International: 626-549-2801