Mac OS X Remove SSH Known Host

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 10.1.1.15
ssh-keygen -R server1.example.com
  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

How to clear DNS cache on Mac OS X?

Go to Applications. Go to Utilities. Open the Terminal application. Type: dscacheutil...