Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-7
1.1.7 protocol inbound
Syntax
protocol inbound
{
all
|
ssh
|
telnet
}
View
VTY user interface view
Parameter
all
: Supports all protocols, including Telnet and SSH.
ssh
: Supports only SSH.
telnet
: Supports only Telnet.
Description
Use the
protocol inbound
command to configure the protocols supported in the
current user interface.
By default, both SSH and Telnet are supported.
After you use this command with SSH enabled, your configuration cannot take effect
until next login if no RSA key pair is configured.
Caution:
z
When SSH protocol is specified, to ensure a successful login, you must configure
the AAA authentication using the
authentication-mode scheme
command.
z
The
protocol inbound ssh
configuration fails if you configured
authentication-mode password
or
authentication-mode none
. When you
configured SSH protocol successfully for the user interface, then you cannot
configure
authentication-mode password
or
authentication-mode none
any
more.
Related command:
user-interface vty
.
Example
# Configure vty0 through vty4 to support SSH only.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] protocol inbound ssh