Reset Ssh Public-Key - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Examples
# (Centralized devices in standalone mode.) Reboot the device.
<boot> reboot
# (Distributed devices in standalone or IRF mode.) Reboot the current MPU.
<boot> reboot
# (Centralized devices in IRF mode.) Reboot the current member device.
<boot> reboot

reset ssh public-key

Use reset ssh public-key to delete all SSH server public keys saved on the device.
Syntax
reset ssh public-key
Views
User view
Usage guidelines
The first time you use the ssh2 command to connect to an SSH server, the device saves the server's
public key locally. The device can then use the public key to authenticate the server when you
connect to the server from the device 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 SSH server public keys saved on the device.
Examples
# Delete all SSH 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.
client001@192.168.1.59's password:
******************************************************************************
266
@

Advertisement

Table of Contents
loading

Table of Contents