< Home

rsa local-key-pair destroy

Function

The rsa local-key-pair destroy command removes all local RSA keys, namely, host key pairs and server key pairs.

Format

rsa local-key-pair destroy

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

After this command is executed, check whether to remove all local RSA keys. Note that this command cannot be saved to the configuration file.

Example

# Remove all RSA keys from the server.

<sysname> system-view
[sysname] rsa local-key-pair destroy
% The name for the keys which will be destroyed is sysname_Host.                
% Confirm to destroy these keys? [y/n]: y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >