Ssh User Authentication-Type - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – System Management
Quidway S8500 Series Routing Switches
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.
Chapter 8 SSH Terminal Service Configuration
Huawei Technologies Proprietary
8-15
Commands

Advertisement

Table of Contents
loading

Table of Contents