The dsa local-key-pair create command generates a local DSA host key pair.
By default, no local DSA host key pair exists in the system.
Usage Scenario
A local key pair is a prerequisite for a successful SSH login. Digital Signature Algorithm (DSA) is an asymmetric encryption algorithm. DSA key is used in SSH connection similar to dsa algorithm for SSH authentication and DSA public key authentication of user. When the dsa local-key-pair create command is used, if the DSA key exists, the system prompts the user to confirm whether to change the original key or not. The generated DSA host key pair is named in the format of device name_Host_DSA, such as HUAWEI_Host_DSA.
Precautions
<HUAWEI> system-view [~HUAWEI] dsa local-key-pair create Info: The key name will be: HUAWEI_Host_DSA Info: The key modulus can be any one of the following : 2048. Info: Key pair generation will take a short while. Info: Generating keys... Info: Succeeded in creating the DSA host keys.