S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Basic Configuration

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.

Configuring an Authentication Mode for a VTY User Interface

Configuring an Authentication Mode for a VTY User Interface

Context

To configure a VTY user interface to support SSH, you must set the authentication mode of the VTY user interface to AAA; otherwise, the protocol inbound ssh command does not take effect.

The system starts the delayed login mechanism in the case of a device login failure. If the first login fails, the user can log in again 5 seconds later. The delay time is increased by 5 seconds every time a login failure occurs. For example, the second login is delayed to 10 seconds, and the third login is delayed to 15 seconds.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run user-interface vty first-ui-number [ last-ui-number ]

    The VTY user interface view is displayed.

  3. Run authentication-mode aaa

    The authentication mode is set to AAA authentication.

  4. Run protocol inbound { all | ssh }

    The VTY user interface is configured to support the SSH protocol.

    By default, a VTY user interface supports the SSH protocol.