Updating SSH Keys
As the department's servers are upgraded, there is a possibility that the servers' host keys will change. If your computer has a cached copy of a server's old host key, your SSH client may refuse the connection when you try to connect to that server.
To remove the offending cached key, follow the instructions corresponding to your OS:
Attempt to connect to the server. You will receive the following dialogue box.
Click “Yes” to update the cache. The connection should be successful.
Mac OS X/Linux
In a terminal window, run the following command to open the SSH key cache file for editing:
Locate the line with the key you wish to remove. It will begin with the hostname and/or IP of the server and will look similar to the following:
turing.cs.olemiss.edu,184.108.40.206 ssh-rsa AAAAB3Nza...
Delete the entire line (
Ctrl-K while on that line), then save and close the file (
When you attempt to connect to the server again, you will be prompted to save the new host key to the cache.