SSH protocol
clear ssh-client known-hosts
Use the clear ssh-client known-hosts command to clear 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:
G450-001(super)# clear ssh-client known-hosts
Related Commands
crypto key
generate,
crypto key generate
Use the crypto key generate command to generate an SSH host key pair. You must
generate the host key pair before the SSH service can be used. Stations that are currently
active receive a warning message that the device public key has changed.
Note:
This command does not close active sessions.
Note:
Note:
This command can take several minutes to run (depending on CPU speed).
Note:
disconnect
ssh,
ip
ssh,
show ip ssh
SSH protocol
Issue 1 January 2008
1115