Command Manual - System Management
Quidway S3500 Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-13
Description
Using the ssh user username assign rsa-key command, you can associate an
existing public key with a designated user. Using the undo ssh user username
assign rsa-key command, you can delete the association.
For a user who has been associated with a public key, the command associates
him/her with the new public key.
The newly configured users take effect at the next logon.
For the related command, see display ssh user-information.
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
[Quidway]
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.