3com 4500 PWR 50-PORT User Manual

Page of 466
422
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
Description
Use the 
peer-public-key end
 command to exit from the public key view and 
return to the system view.
Related commands: 
rsa peer-public-key
,
 public-key-code begin
Example
To quit public key view, enter the following:
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]rsa peer-public-key 3COM003 
[SW4500-rsa-public-key]peer-public-key end
[SW4500]
protocol inbound
Syntax
protocol inbound { all | ssh | telnet }
View
VTY user interface view
Parameter
all:
 Supports all protocols, including Telnet and SSH. 
ssh:
 Supports the SSH protocol only.
telnet:
 Supports the Telnet protocol only.
Description
Use the 
protocol inbound
 command to specify the protocol supported by the 
current user interface.
By default, all protocols are supported.
The configuration takes effect at the next login. After enabling SSH you cannot 
login through SSH if the client RSA key is not configured.
If the supported protocol configured in the user interface is SSH, you must ensure 
you 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. However, if a user interface is configured to support the SSH protocol, you will 
be unable to configure 
authentication-mode password
 and 
authentication-mode none
.
Related command: 
user-interface vty
Example
To set VTY 0 to 4 to support SSH protocol only, enter the following:
[SW4500]user-interface vty 0 4