Clearing the SSH of known host file content

Last Updated : Nov 06, 2012 |

About this task

Each SCP client maintains a list of server fingerprints. If a key changes, the client’s verification of the server’s fingerprint fails, thereby preventing client access to the SCP server. If this happens, the following command erases the client server fingerprint list. This enables the client to access the server and begin to recreate its list of fingerprints with the SCP server’s new fingerprint.

Procedure

Enter clear ssh-client known-hosts to clear the client’s list of SCP server fingerprints.