H3C Technologies H3C SecPath F1000-E User Manual
Page 208
14
To do…
Use the command…
Remarks
Configure the authentication type
for SSH users as publickey
For more information, see SSH2.0
Configuration in the Security
Volume.
Required if the SSH login mode is
adopted, and only username,
instead of password is needed at
authentication.
After the configuration, the
authentication mode of the
corresponding user interface must
be set to scheme.
Enter system view
system-view
—
Enter user interface view
user-interface { first-num1
[ last-num1 ] | vty first-num2
[ last-num2 ] }
—
Configure the authentication mode
when a user uses the current user
interface to log in to the device
authentication-mode scheme
Optional
By default, the authentication
mode for VTY and AUX user
interfaces is password, and no
authentication is needed for
console login users.
Configure the privilege level of the
user logging in from the current
user interface
user privilege level level
Optional
By default, the user privilege level
for users logging in from the
console user interface is 3, and
that for users logging from the
other user interfaces is 0.
Follow these steps to configure the user privilege level under a user interface (none or password
authentication mode):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter user interface view
user-interface { first-num1
[ last-num1 ] | { aux | console |
vty } first-num2 [ last-num2 ] }
—
Configure the authentication mode
when a user uses the current user
interface to log in to the device
authentication-mode { none
| password }
Optional
By default, the authentication
mode for VTY and AUX user
interfaces is password, and no
authentication is needed for
console login users.
Configure the privilege level of the
user logging in from the current
user interface
user privilege level level
Optional
By default, the user privilege level
for users logging in from the
console user interface is 3, and
that for users logging from the
other user interfaces is 0.