Command Manual (For Soliton) – Login
H3C S3100 Series Ethernet Switches
Chapter 1 Login Commands
1-18
Description
Use the
protocol inbound
command to specify the protocols supported by the user
interface.
Both Telnet protocol and SSH protocol are supported by default.
Related commands:
user-interface vty
.
Note:
To improve security and prevent attacks to the unused Sockets, TCP 23 and TCP 22
(ports for Telnet and SSH services respectively) will be enabled or disabled after
corresponding configurations.
z
If the authentication mode is none, TCP 23 will be enabled, and TCP 22 will be
disabled.
z
If the authentication mode is password, and the corresponding password has been
set, TCP 23 will be enabled, and TCP 22 will be disabled.
z
If the authentication mode is scheme, there are three scenarios: when the
supported protocol is specified as telnet, TCP 23 will be enabled; when the
supported protocol is specified as ssh, TCP 22 will be enabled; when the supported
protocol is specified as all, both the TCP 23 and TCP 22 port will be enabled.
Caution:
To configure a user interface to support SSH, you need to set the authentication mode
to
scheme
for users to log in successfully. If the authentication mode is set to
password
or
none
for login users, the
protocol inbound ssh
command will fail. Refer
to the
authentication-mode
command for the related configuration.
Examples
# Configure that only SSH protocol is supported in VTY 0.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] user-interface vty 0
[Sysname-ui-vty0] protocol inbound ssh