3com 4500 50-PORT User Manual

Page of 466
SSH Terminal Service Configuration Commands
427
View
System view
Parameter
username:
 A valid SSH username, which is a string consisting of 1 to 80 
characters.
keyname
A name of the client public key which is a string consisting of 1 to 54 
characters.
Description
Use the 
ssh user username assign rsa-key
 command to assign an existing 
public key for the specified SSH user.
Use the 
undo ssh user username assign rsa-key
 command to delete the 
association. 
For a user who has been associated with a public key, the command associates 
him/her with the new public key. 
The new public key takes effect at the next login.
Related command: 
display ssh user-information
Example
To associate the key 1 with jsmith, enter the following:
[SW4500]ssh user jsmith assign rsa-key key1
ssh user 
authentication-type
Syntax
ssh user username authentication-type { password | rsa | 
password-publickey | all}
undo ssh user username authentication-type
View
System View
Parameter
username:
 A valid SSH username which is a string consisting of 1 to 80 characters.
password:
 Forces the user’s authentication mode to password authentication.
rsa:
 Forces the user’s authentication mode to RSA public key authentication.
password-publickey: 
Forces the user’s authentication mode to password 
authentication plus RSA public key authentication.
all:
 Specifies authentication type as password and RSA. 
Description
Use the 
ssh user username authentication-type
 command to define 
authentication type for a designated user.