Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-13
1.1.14 ssh authentication-type default
Syntax
ssh authentication-type default
{
password
|
rsa
|
password-publickey
|
all
}
undo ssh authentication-type default
View
System view
Parameter
password
: Specifies the authentication type of SSH users to password authentication.
rsa
: Specifies the authentication type of SSH users to RSA public key authentication.
password-publickey
: Specifies the authentication type of SSH users to both password
authentication and public key authentication, that is, the password authentication and
public key authentication must be satisfied simultaneously.
all
: Specifies the authentication type of SSH users to either password authentication or
public key authentication, that is, one of the two authentication types must be satisfied.
Description
Use the
ssh authentication-type default
command to specify a default authentication
type for SSH users. After this command is configured, if a new SSH user added through
the
ssh
command has not passed the authentication specified by the
ssh user
authentication-type
command for this user, this user will adopt the default
authentication type.
Use the
undo ssh authentication-type default
command to remove the specified
default authentication type, that is, no default authentication type is specified. When a
new SSH user is added, an authentication type must be specified for it simultaneously.
By default, no default authentication type is specified.
Related command:
ssh user authentication-type
.
Example
# Specify the default authentication type of SSH users to password authentication.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ssh authentication-type default password
1.1.15 ssh server authentication-retries
Syntax
ssh server authentication-retries
times