Iii. configuring authentication type for a user, Section "configuring, Authentication type for – H3C Technologies H3C S3100 Series Switches User Manual
Page 492: A user

Operation Manual – SSH Terminal Service
H3C S3100-52P Ethernet Switch
Chapter 1 SSH Terminal Service
1-6
Note:
After the rsa local-key-pair create command is executed, you can execute the
display rsa local-key-pair public
command to display information about the public
key (in H3C_host, for example).
III. Configuring authentication type for a user
For a new user, you must specify the authentication type. Otherwise, the user cannot
access the switch.
Table 1-4
Configure authentication type for a user
Operation
Command
Description
Enter system view
system-view
—
Specify a default
authentication type for
SSH users
ssh authentication-type
default
{ password | rsa
| password-publickey |
all
}
Configure authentication
type for an SSH user
ssh user username
authentication-type
{
password
|
password-publickey
|
rsa
| all }
At least one required;
By default, no
authentication type is
specified for an SSH user,
and the user can not
access the switch.
Note that:
z
The ssh authentication-type default command is used to configure the default
authentication type for all SSH users.
z
The ssh user username authentication-type command is used to configure an
authentication type for a specific SSH user.
z
When both commands are configured with different authentication types, for the
specific user (user specified by the username argument), the authentication type
specified by the ssh user username authentication-type command will take
effect instead of that specified for all SSH users.