Command Manual - System Management
Quidway S3500 Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-6
8.1.7 protocol inbound
Command
protocol inbound { all | ssh | telnet }
View
VTY user interface view
Parameter
all: Supports both Telnet and SSH protocols.
ssh: Supports only SSH protocol.
telnet: Supports only Telnet protocol.
Description
Using the protocol inbound command, you can configure the protocols supported by
a designated user interface.
By default, the system supports both Telnet and SSH protocols.
If SSH protocol is enabled and specified for the user interface, but no local RSA key is
configured, SSH cannot take effect yet till you log onto the system next time.
If SSH protocol is specified, to ensure a successful logon, you must configure the AAA
authentication using the authentication-mode scheme command. The protocol
inbound ssh configuration fails if you configure authentication-mode password and
authentication-mode None.
For the related commands, see user-interface vty.
Example
# Disable Telnet on vty0 through vty4, only SSH available.
<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
[Quidway-ui-vty0-4]
8.1.8 public-key-code begin
Command
public-key-code begin
View
Public key edit view