Creating a local asymmetric key pair
When you create an asymmetric key pair on the local device, follow these guidelines:
Create an asymmetric key pair of the proper type to work with a target application.
After you enter the command, specify a proper modulus length for the key pair.
Table 15: A comparison of different types of asymmetric key algorithms
Type | Number of key pairs | Modulus length |
---|---|---|
RSA |
|
Hewlett Packard Enterprise recommendation: a minimum of 768 bits. |
DSA | The system creates a host key pair. |
Hewlett Packard Enterprise recommendation: a minimum of 768 bits. |
ECDSA | The system creates a host key pair. |
|
NOTE: Only SSH 1.5 uses the RSA server key pair. | ||
To create a local asymmetric key pair:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a local key pair. |
| By default, no local asymmetric key pairs exist. Key pairs created with the public-key local create command are saved automatically and can survive system reboots. |