clear ssh-client known-hosts

Last Updated : Nov 06, 2012 |

Clears the SSH known-host file content. This command is used to unlock the man-in-the-middle attack prevention mechanism, and allow SCP server authentication after an SCP server public key change.

Syntax

clear ssh-client known-hosts

User level

admin

Context

general

Example

To clear the SSH known-host file content:

Gxxx-001(super)# clear ssh-client known-hosts