Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-17
1.1.19 ssh user assign rsa-key
Syntax
ssh user username
assign rsa-key
keyname
undo ssh user username
assign rsa-key
View
System view
Parameter
username
: SSH user name, a string of 1 to 80 characters.
keyname
: Client public key name, a string of 1 to 64 characters.
Description
Use the
ssh user assign rsa-key
command to allocate public keys to SSH users.
Use the
undo ssh user assign rsa-key
command to remove the association between
the public keys and SSH users. The configuration takes effect at the next login.
If the user already has a public key, the new public key overrides the old one.
Related command:
display ssh user-information
.
Example
# Set the client public key for the kk user to key1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ssh user kk assign rsa-key key1
[Quidway]
1.1.20 ssh user authentication-type
Syntax
ssh
user
username
authentication-type
{
password
|
rsa
|
password-publickey
|
all
}
undo ssh user username
authentication-type
View
System view
Parameter
username
: Valid SSH user name, a string of 1 to 80 characters.
password
: Specifies the authentication type as password.