Command Manual - System Management
Quidway S2000 Series Ethernet Switches Chapter 8 SSH Configuration Commands
8-7
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] user-interface vty 0 4
[Quidway-ui-vty0-4] protocol inbound ssh
# Disable Telnet on vty0, only SSH available.
[Quidway] user-interface vty 0
[Quidway-ui-vty0] protocol inbound ssh
8.1.9 public-key-code begin
Command
public-key-code begin
View
RSA key code view
Parameter
None