Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-13
Example
# Associate the key 1 with the zhangsan.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ssh user zhangsan assign rsa-key key1
8.1.17 ssh user username authentication-type
Command
ssh user username authentication-type { all | password | rsa }
undo ssh user username authentication-type
View
System view
Parameter
username: Valid local user name or user name defined by remote RADIUS system.
all: Specifies authentication type as password and RSA.
password: Specifies authentication type as password.
rsa: Specifies authentication type as RSA.
Description
Using the ssh user username authentication-type command, you can define
authentication type for a designated user. Using the undo ssh user username
authentication-type command, you can restore the default mode in which logon fails.
By default, user can’t logon the switch through SSH or TELNET, so you have to specify
authentication type for a new user. The new configuration takes effects at the next
logon.
For the related commands, see display ssh user-information.
Example
# Specify zhangsan’s authentication type as password.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ssh user zhangsan authentication-type password