Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-24
Description
Use the
rsa local-key-pair destroy
command to destroy the current switch’s RSA key
pair.
Related commands:
rsa local-key-pair create
.
Examples
# Destroy the current switch’s RSA key pair.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rsa local-key-pair destroy
% The local-key-pair will be destroyed.
% Confirm to destroy these keys? [Y/N]:y
.............Done!
1.1.20 rsa peer-public-key
Syntax
rsa peer-public-key
keyname
undo rsa peer-public-key
keyname
View
System view
Parameters
keyname
: Name of the public key to be configured , a string of 1 to 64 characters.
Description
Use the
rsa peer-public-key
command to enter public key view.
Use the
undo rsa peer-public-key
command to remove the setting.
After using this command, you can use the
public-key-code begin
command to
configure the peer public key. This public key configuration method requires that you
obtain the peer public key in hexadecimal format in advance.
Note:
Currently, the switch supports only public keys of 512 to 2048 bits.
Related commands:
public-key-code begin
,
public-key-code end
.