View
VTY interface view
Default Level
3: Manage level
Parameters
all: Supports both Telnet protocol and SSH protocol.
ssh: Supports SSH protocol.
telnet: Supports Telnet protocol.
Description
Use the protocol inbound command to configure the user interface to support specified protocols.
Both Telnet and SSH protocols are supported by default.
Related command: user-interface vty.
If you want to configure the user interface to support SSH, to ensure a successful login, you must first
configure the authentication mode to scheme on the user interface. If you set the authentication mode
to password or none, the protocol inbound ssh command will fail. Refer to authentication-mode.
Examples
# Configure VTY 0 to support only SSH protocol.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] user-interface vty 0
[Sysname-ui-vty0] protocol inbound ssh
screen-length
Syntax
screen-length screen-length
undo screen-length
View
User interface view
Default Level
2: System level
1-16