Configuring the user interfaces for SSH clients
IMPORTANT: Before you configure a user interface to support SSH, you must configure its authentication mode to scheme. Otherwise, the protocol inbound command does not take effect. | ||
SSH clients access the device through VTY user interfaces. You must configure the user interfaces for SSH clients to allow SSH login. The configuration takes effect only on the clients at the next login.
To configure the user interface for SSH clients:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VTY user interface view. | 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 interface to support SSH login. | protocol inbound { all | ssh } | Optional. By default, Telnet and SSH are supported. |
For more information about the authentication-mode and protocol inbound commands, see Fundamentals Command Reference.