[c-nsp] How to remove known_hosts on Nexus

Sai saisai1952 at gmail.com
Mon Aug 16 05:22:49 EDT 2010


How can I clean/remove/edit known_hosts file on Nexus?

# copy scp://sai@192.168.5.5/myfile bootflash:
Enter vrf (If no input, current vrf 'default' is considered):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
a1:a5:cf:5d:55:94:55:f2:f5:3c:8d:80:55:9d:98:67.
Please contact your system administrator.
Add correct host key in /var/home/sai/.ssh/known_hosts to get rid of this
message.
Offending key in /var/home/sai/.ssh/known_hosts:1
RSA host key for 192.168.5.5 has changed and you have requested strict
checking.
Host key verification failed.

Thanks.


More information about the cisco-nsp mailing list