Generating local key pairs

In the key and algorithm negotiation stage, the DSA, RSA, or ECDSA key pairs are used to generate the session key and session ID. They can also be used by a client to authenticate the server.

Configuration guidelines

Configuration procedure

To generate local key pairs on the SSH server:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Generate local key pairs.

  • In non-FIPS mode:public-key local create { dsa | ecdsa { secp192r1 | secp256r1 } | rsa }

  • In FIPS mode:public-key local create { dsa | ecdsa secp256r1 | rsa }

By default, no local key pairs exist.