Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-9
% Do you really want to replace them? [yes/no]:y
Choose the size of the key modulus in the range of 512 to 2048 for your Keys.
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
How many bits in the modulus [512]:512
Generating keys...
.....++++++++++++
........................++++++++++++
..........++++++++
............................++++++++
[Quidway]
8.1.11 rsa local-key-pair destroy
Command
rsa local-key-pair destroy
View
System view
Parameter
None
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> system-view
System View: return to User View with Ctrl+Z.
[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]