clear known_hosts
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
51
Alcatel-Lucent
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Command Reference Guide
CLEAR KNOWN_HOSTS
clear known_hosts [<ip-address>]
DESCRIPTION
This command is entered in the Configuration Mode. This command enables you
to clear the address key mapping for all the IP addresses/a single IP address from
the known_hosts file.
SSH client maintains a list of IP addresses and associated RSA keys in the file
called known_hosts.
It is not possible to initiate a SSH session with a host whose IP address and key
does not match with the one stored in the known_hosts file. This mismatch can
happen if the an IP address is assigned to a different host or if the key of the host
is regenerated. In such cases, you have to clear the known_host file before you
can successfully initiate the SSH client session. Also, the known_hosts file is not
VRF aware and is based only on the IP address. Hence, it is required to clear the
file before you can establish a session to the same IP address across VRFs.
PARAMETERS
PLATFORMS SUPPORTED
OmniAccess 5740 USG
EXAMPLE
ALU(config)# clear known_hosts
RELEASE HISTORY
Release 2.3: command was added.
Parameter Description
ip-address Clears the address key mapping for a
specified IP address.