H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-17
Examples
# Set the client public key for the kk user to key1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ssh user kk assign rsa-key key1
1.1.19 ssh user authentication-type
Syntax
ssh user username authentication-type { password | rsa | password-publickey |
all }
undo ssh user username authentication-type
View
System view
Parameters
username: Valid SSH user name, a string of 1 to 80 characters.
password: Specifies the authentication type as password.
rsa: Specifies the authentication type as RSA public key.
password-publickey: Specifies the authentication type as both password and RSA
public key. That is, the user can pass the authentication only when both the password
and RSA public key are correct.
Note:
For the password-publickey authentication type:
z Users of SSH1.x clients can access the switch as long as they pass one of the two
authentication types.
z Users of SSH2.0 clients can access the switch only when they pass both the two
authentication types.
all: Specifies the authentication type as either password or RSA public key. That is, the
user can pass the authentication if either the password or the RSA public key is correct.
Description
Use the ssh user authentication-type command to define on the server the available
authentication type for an SSH user.