Configuring the user interfaces for SSH clients

An SSH client accesses the switch through a VTY user interface. You must configure the user interfaces for SSH clients to allow SSH login. The configuration takes effect only for clients that log in after the configuration.

Configuration guidelines

Configuration procedure

To configure the protocols for a user interface to support:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter user interface view of one or more user interfaces.

user-interface vty number [ ending-number ]

N/A

3. Set the login authentication mode to scheme.

authentication-mode scheme

By default, the authentication mode is password.

4. Configure the user interfaces to support SSH login.

protocol inbound { all | ssh }

Optional.

All protocols are supported by default.

For more information about the authentication-mode and protocol inbound commands, see Fundamentals Command Reference.