Command Reference Guide
376 ● ssh user authentication-type 3Com Router 5000 Family and Router 6000 Family
Command Reference
ssh user authentication-type
Purpose Use the ssh user authentication-type command to create an SSH user and
specify an authentication mode for it.
Use the undo ssh user authentication-type command to restore the
default, where login is always denied.
Syntax ssh user username authentication-type { password | rsa | all |
password-publickey }
undo ssh user username authentication-type
Parameters username
SSH user name; it must be consistent with the user
name defined in AAA if password authentication is
adopted. If RSA authentication is adopted, the value of
this argument is a local SSH user name and needs not
to be defined in AAA.
password
Sets the authentication mode of the user to password.
rsa
Sets the authentication mode of the user to RSA.
all
The authentication mode of the user can be either
password or RSA.
password-publickey
Sets the authentication mode for the SSH user to the
combination of AAA and RSA.
Example Set the authentication mode to password for user tom.
[3Com] ssh user tom authentication-type password
View This command can be used in the following views:
■ System view
Description You must specify an authentication mode for each new user, or they will be unable to
log in. The new authentication mode takes effect at next login.
All SSH users need authentication.
You may create an SSH user name and specify an authentication mode for it by using
the ssh user authentication-type command.
Alternatively, you may create an SSH user name with the ssh user command.
Before that, you must specify a default authentication mode with the ssh
authentication-type default command.