< Home

dsa local-key-pair destroy

Function

The dsa local-key-pair destroy command destroys all the local Digital Signature Algorithm (DSA) key pairs.

Format

dsa local-key-pair destroy

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The digital signature algorithm (DSA) is one of the most widely used authentication modes in SSH. The DSA public key and DSA private key are generated according to the encryption principle of the asymmetric encryption system. DSA implements secure key exchange. This ensures the secure session process. You can run the dsa local-key-pair create command to create a local DSA key. Before deleting a local DSA key using this command, ensure that the local DSA key is not used any more.

Prerequisites

Before running the command, ensure that a local DSA key that can be deleted has been generated on the device.

Configuration Impact

After the command is run, the files (**_DSA) where DSA keys are saved will be cleared on the AMB and SMB.

Precautions

After the command is run, it takes effect and is not saved in the configuration file.

Example

# Delete the local DSA key.

<sysname> system-view
[sysname] dsa local-key-pair destroy
Info: The name of the key which will be destroyed is sysname_Host_DSA.  
Warning: These keys will be destroyed. Continue? [Y/N]:y                        
Info: Deleting keys...                                                          
Info: Succeeded in destroying the DSA host keys.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >