Destroying a local asymmetric key pair – H3C Technologies H3C SecBlade LB Cards User Manual
Page 112

101
Displaying and recording the host public key
information
Task Command
Remarks
Display the local RSA public keys
display public-key local rsa public [ | { begin
| exclude | include } regular-expression ]
Available in any view.
The display public-key local rsa public command displays both the RSA server and host public keys.
Recording the RSA host public key is enough.
After you display the host public key, record the key information for manually configuration of the key on
the peer device.
Displaying the host public key in a specific format
and saving it to a file
Step Command
1.
Enter system view.
system-view
2.
Display the local RSA host
public key in a specific format. public-key local export rsa { openssh | ssh1 | ssh2 }
After you display the host public key in a specific format, save the key to a file, and transfer the file to the
peer device.
Exporting the host public key in a specific format to
a file
Step Command
1.
Enter system view.
system-view
2.
Export a local RSA host public
key in a specific format to a file. public-key local export rsa { openssh | ssh1 | ssh2 } filename
After you export a host public key in a specific format to a file, transfer the file to the peer device.
Destroying a local asymmetric key pair
You may have to destroy a local asymmetric key pair and generate a new pair when an intrusion event
has occurred, the storage media of the device is replaced, the asymmetric key has been used for a long