R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

167
Related commands: ssh user.
NOTE:
This command is also available on an SFTP server.
Examples
# Display information about all SSH users.
<Sysname> display ssh user-information
Total ssh users : 2
Username Authentication-type User-public-key-name Service-type
yemx password null stelnet|sftp
test publickey pubkey sftp
Table 43 Output description
Field Descri
p
tion
Username Name of the user
Authentication-type
Authentication method. If this field has a value of password, the
next field will have a value of null.
User-public-key-name Public key of the user
Service-type Service type
ssh server authentication-retries
Syntax
ssh server authentication-retries times
undo ssh server authentication-retries
View
System view
Default level
2: System level
Parameters
times: Maximum number of authentication attempts, in the range 1 to 5.
Description
Use the ssh server authentication-retries command to set the maximum number of SSH connection
authentication attempts, which takes effect at next login.
Use the undo ssh server authentication-retries command to restore the default.
By default, the maximum number of SSH connection authentication attempts is 3.
Authentication will fail if the number of authentication attempts (including both publickey and password
authentication) exceeds that specified in the ssh server authentication-retries command.
If the authentication method of SSH users is password-publickey, the maximum number of SSH
connection authentication attempts must be at least 2. This is because SSH2.0 users must pass both
password and publickey authentication.