Installation manual

Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-10
Description
Using the rsa local-key-pair destroy command, you can remove all RSA key pairs at
the server, including Host key pair and Server key pair.
Acknowledgement information will be promoted before the system clears all RSA key
pairs. This command is just a one-time instruction, so the result will not be stored in the
configuration file.
For the related commands, see rsa local-key-pair create.
Example
# Remove all key pairs at the server.
[Quidway] rsa local-key-pair destroy
% The name for the keys which will be destroyed is Quidway_Host .
% Confirm to destroy these keys? [yes/no]:y
[Quidway]
8.1.13 rsa peer-public-key
Command
rsa peer-public-key key-name
View
System view
Parameter
key-name: Public key name
Description
Using the rsa peer-public-key command, you can enter the RSA public key view.
When using this command together with the public-key-code begin command, you
can configure the public key at the client, which is generated randomly by the client
program supporting SSH1.5.
For the related commands, see public-key-code begin, public-key-code end.
Example
# Enter the RSA public key view.
[Quidway] rsa peer-public-key quidway002
[Quidway-rsa-public]