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-12
View
System view
Parameters
password: Specifies the authentication type as password authentication.
rsa: Specifies the authentication type as RSA public key authentication.
password-publickey: Specifies the authentication type as both password
authentication and RSA public key authentication, that is, the user can pass the
authentication only when both the password and RSA public key are correct.
all: Specifies the authentication type as password authentication or RSA public key
authentication, that is, the user can pass the authentication if either the password or
RSA public key is correct.
Description
Use the ssh authentication-type default command to specify a default authentication
type for SSH users. After the command is configured, when a SSH user is added, if you
do not use the ssh user authentication-type command to specify an authentication
type for the user, the user needs to pass the default authentication type.
Use the undo ssh authentication-type default command to restore the default
settings.
By default, the password authentication type is specified.
Related commands: ssh user authentication-type.
Examples
# Specify the default authentication type as password.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] ssh authentication-type default password
1.1.13 ssh server authentication-retries
Syntax
ssh server authentication-retries times
undo ssh server authentication-retries
View
System view
Parameters
times: Authentication retry times. It is in the range of 1 to 5 and defaults to 3.