[c-nsp] How to remove known_hosts on Nexus

Arie Vayner (avayner) avayner at cisco.com
Mon Aug 16 05:41:52 EDT 2010


I think "clear ssh hosts" should work...

Arie

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Sai
Sent: Monday, August 16, 2010 12:23
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] How to remove known_hosts on Nexus

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.
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list