Generate an RSA, DSA, or ECDSA key

The switch supports the following keys that are used for SSH access:
  • RSA: Rivest-Shamir-Adleman (RSA), which is an algorithm that is widely supported. You must generate this key for SSH access.
  • DSA: Digital Signature Algorithm (DSA), which is a secure algorithm for authentication but not for encryption.
  • ECDSA: Elliptic Curve Digital Signature Algorithm (ECDSA), which is a newer and very secure algorithm that is not yet widely supported.
Note: To generate an SSH key file, SSH must be disabled (see Configure the SSH access settings).
Note: To enable SSH, you must generate an RSA key along with either a DSA or an ECDSA key.

To generate an RSA, DSA, or ECDSA key:

  1. Open a web browser and log in to the device UI using your login details and device admin password.

    The Dashboard page displays.

  2. Select System > Protocols > SSH.
    The SSH page displays.

    The Keys Present field displays whether a certificate is present on the switch.

  3. In the RSA Keys Management section, select the Generate RSA Keys radio button.
    You must generate this key for SSH access.
  4. Do one of the following:
    • DSA key: In the DSA Keys Management section, select the Generate DSA Keys radio button.
    • ECDSA key: In the ECDSA Keys Management section, select the Generate ECDSA Keys radio button.
  5. Click the Apply button.
    The switch generates a key. The Key Generation In Progress field shows progress information.

The following table describes the view-only fields on the page.

Table 1. Host Key Status information

Field

Description

Keys Present

Displays which keys are present on the switch (if any): RSA, DSA, ECDSA, or None.

Key Generation In Progress

Displays which key is being generated (if any): RSA, DSA, ECDSA, or None.