dsa local-key-pair destroy

Function

The dsa local-key-pair destroy command removes all local DSA keys including the host key pair and the server key pair.

By default, no local DSA keys are created.

Format

dsa local-key-pair destroy

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

Usage Scenario

If you no longer need the local DSA key pairs, run the dsa local-key-pair destroy command to delete them.

Configuration Impact

The dsa local-key-pair destroy command deletes the local DSA host key pair, from the files on the IPU. Exercise caution when you run this command.

Precautions

The dsa local-key-pair create command is not saved in the configuration file. It only need to be run once and take effect even after the device restarts.

Example

# Delete the local DSA host key pair.
<HUAWEI> system-view
[~HUAWEI] dsa local-key-pair destroy
Info: The name of the key which will be destroyed is HUAWEI_Host_DSA.
Warning: These keys will be destroyed. Continue? Please select [Y/N]: Y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >