HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
193
Views
User view
Examples
# On an MSR2000 or MSR3000, reboot the device.
<boot> reboot
# On an MSR4000, reboot the current MPU.
<boot> reboot
reset ssh public-key
Use reset ssh public-key to delete all server public keys saved on the device.
Syntax
reset ssh public-key
Views
User view
Usage guidelines
When you use the ssh2 command to connect to an SSH server for the first time, the device saves a copy
of the server's public key locally so it can use the public key to authenticate the server when you connect
to the server again. If the server changes its public key, the public keys will not match anymore and you
cannot connect to the server. To solve this problem, use this command to delete all server public keys
saved on the device.
Examples
# Delete all server public keys saved on the device.
<boot> ssh2 192.168.1.59
login as:client001
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
83:2d:b6:90:4a:1b:0e:c1:ea:af:09:3a:65:09:8a:b3.
Please contact your system administrator.
RSA host key for 192.168.1.59 has changed and you have requested strict checking
.
Host key verification failed.
<boot> reset ssh public-key
<boot> ssh2 192.168.1.59
login as:client001
The authenticity of host '192.168.1.59 (192.168.1.59)' can't be established.
RSA key fingerprint is 83:2d:b6:90:4a:1b:0e:c1:ea:af:09:3a:65:09:8a:b3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.59' (RSA) to the list of known hosts.