H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches Chapter 1
SSH Terminal Service Configuration
1-5
Note:
Configuration of the rsa local-key-pair create can survive a reboot. You only need to
configure it once.
III. Creating an SSH user
Table 1-4 Create an SSH user
To do... Use the command... Remarks
Enter system view
system-view
Create an SSH user
ssh user username
Required
For an SSH user created by using this command, if you do not specify an authentication
type by using the ssh user authentication-type command for this user, this SSH user
adopts the default authentication type.
IV. Configuring authentication type
An authentication type must be specified for new SSH users. Otherwise, they cannot
access the switch.
Table 1-5 Configure authentication type
To do... Use the command... Remarks
Enter system view
system-view
Specify a default
authentication type
for SSH users
ssh authentication-type
default { password | rsa
| password-publickey |
all }
Optional;
By default, the password
authentication type is
specified.
Configure
authentication type
for SSH users
ssh user username
authentication-type
{ password | rsa |
password-publickey |
all }
Optional;
By default, the system does
not specify available
authentication types for SSH
users, that is, they can not
access the switch
Note that:
z Use the ssh authentication-type default command to configure the default
authentication type for all users.
z Use the ssh user username authentication-type command to specify the
authentication type for a user.