3com 8807 Verweisanleitung
948
C
HAPTER
56: SSH T
ERMINAL
S
ERVICE
C
ONFIGURATION
C
OMMANDS
Example
# Exit the public key view and save the configuration.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] rsa peer-public-key sw8800003
RSA public key view: return to System View with "peer-public-key end".
[3Com-rsa-public-key] peer-public-key end
[SW8800]
protocol inbound
Syntax
protocol inbound { all | pad | ssh | telnet }
View
VTY user interface view
Parameter
all: Supports all protocols, including Telnet and SSH.
ssh: Supports the SSH protocol only, and does not support the Telnet protocol.
telnet: Supports the Telnet protocol only, and does not support the SSH protocol.
Description
Use the protocol inbound command to specify the protocol supported by the
current user interface.
current user interface.
By default, all protocols are supported.
This configuration takes effect at the next login. Note that after enabling SSH by
this command, you still cannot log in through SSH if the client RSA key is not
configured.
this command, you still cannot log in through SSH if the client RSA key is not
configured.
c
CAUTION:
■
If the supported protocol configured in the user interface is SSH, make sure to
configure the corresponding authentication mode to authentication-mode
scheme (using AAA authentication mode).
configure the corresponding authentication mode to authentication-mode
scheme (using AAA authentication mode).
■
If the authentication mode is configured as authentication-mode password
or authentication-mode none, the configuration of protocol inbound ssh
will fail; contrarily, if a user interface is configured to support the SSH protocol,
you will fail to configure authentication-mode password and
authentication-mode none.
or authentication-mode none, the configuration of protocol inbound ssh
will fail; contrarily, if a user interface is configured to support the SSH protocol,
you will fail to configure authentication-mode password and
authentication-mode none.
Related command: user-interface vty.
Example
# Set VTY 0 to 4 to support the SSH protocol only.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] user-interface vty 0 4
[3Com-ui-vty0-4] protocol inbound ssh
# Disable the Telnet function of VTY 0 and make it support SSH only.