
Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 8 SSH Terminal Service Configuration
Commands
Huawei Technologies Proprietary
8-15
If a public key already exists before this command is performed, the newly configured
key takes effect.
Related command:
display ssh user-information
.
Example
# Assign public key1 for user zhangsan.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ssh user zhangsan assign rsa-key key1
8.1.18 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
password
: Forces the user’s authentication mode to password authentication.
rsa
: Forces the user’s authentication mode to RSA public key authentication.
password-publickey
: Forces the user’s authentication mode to password
authentication plus RSA public key authentication.
all
: Specifies that the user’s authentication mode can be either password
authentication or public authentication.
Description
Use the
ssh user authentication-type
command to specify an authentication mode
for a user.
Use the
undo ssh user authentication-type
command to restore the default
unable-to-login mode.
The new authentication mode takes effect at the next login.
By default, no login authentication mode is specified, that is, SSH users are unable to
login.
For a new user, you must specify an authentication mode; otherwise, the new user will
not be able to log in.
Related command:
display ssh user-information
.
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...