Configuring VTY User Interfaces to Support SSH

STelnet is based on SSH2. When the client and the server set up a secure connection after negotiation, the client can log in to the server in the same way as using Telnet.

Context

Perform the following steps on the device that functions as an SSH server:

Procedure

  1. Run system-view

    The system view is displayed.

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

    One or more VTY user interface views are displayed.

  3. Run authentication-mode aaa

    The authentication mode is set to AAA authentication.

  4. Run protocol inbound { ssh | all }

    The VTY user interfaces are configured to support SSH.

    Before configuring VTY user interfaces to support SSH, you must set the authentication mode to AAA authentication for the user interfaces. If you do not set the authentication mode to AAA authentication, the protocol inbound { ssh | all } command does not take effect.

  5. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >