Configure the global SSH access settings

You can configure the global SSH access settings.

To configure SSH settings:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Security > Access > SSH > SSH Configuration.

    The SSH Configuration page displays.

  3. Select the SSH Admin Mode Disable or Enable radio button.

    This selection enables or disables the SSH global administrative mode. When enabled, you can access the switch by using an SSH client on a remote system. The default is Disable.

  4. In the SSH Session Timeout field, specify the inactivity time-out period for SSH sessions to the switch.

    If an SSH session is inactive and the time-out period is exceeded, the session is terminated. The range is from 1 to 160 minutes. The default is 5 minutes.

  5. In the Maximum Number of SSH Sessions field, specify the maximum number of SSH sessions that can be simultaneously made to the switch.

    The range is from 0 to 5. The default is 5 sessions.

  6. From the Authentication List menu, select a login authentication list.

    This list is used to authenticate users who try to log in to the switch. The default list is networkList. For more information about login authentication lists, see Configure a login authentication list.

  7. From the Enable Authentication List menu, select an enable authentication list.

    This list is used to authenticate users who try to get privileged EXEC access. The default list is enableList. For more information about enable authentication lists, see Configure an enable authentication list.

  8. In the SSH Port field, specify the port for SSH access.

    The range is from 1 to 65535. The default port number is 22.

  9. Select the SSH Public Key Authentication Mode Disable or Enable radio button.

    This selection enables or disables the SSH public key authentication mode. When enabled, you can use a secure public key rather than a password to access the switch over an SSH session. The default is Disable.

  10. Select the SCP server Admin Mode Disable or Enable radio button.

    This selection enables or disables file transfers over a secure copy protocol (SCP) server. The default is Disable.

  11. In the Max SSH Authentication Retries field, specify the number of times that the switch tries to authenticate an SSH client after the initial authentication fails.

    The range is from range from 0 to 5. The default is 3.

  12. Click the Apply button.

    Your settings are saved.

  13. To save the settings to the running configuration, click the Save icon.

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

Table 1. SSH configuration information

Field

Description

SSH Version

The switch can accept connections from an SSH client using protocol level 2 for SSH (SSH-2). Protocol level 2 for SSH is enabled by default.

Current Number of SSH Sessions

The number of active SSH sessions between remote SSH clients and the switch.

Keys Present

Displays if one or both (if any) of the following keys are present on the device:

  • SSH-2 Rivest-Shamir-Adelman (RSA) key file (PEM encoded)

  • SSH-2 Digital Signature Algorithm (DSA) key file (PEM encoded)

    If no keys are presents, No is displayed.

Max SSH Authentication Tries

The number of times that the switch attempts to authenticate the SSH client. By default, this number is 4.