R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
192
Parameters
username: SSH username, a string of 1 to 80 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ssh user-information on an SSH server to display information about one or all SSH users.
This command displays only information about SSH users configured through the ssh user command on
the SSH server.
Without the username argument, the command displays information about all SSH users.
This command is also available on an SFTP server.
Related commands: ssh user.
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 45 Command output
Field Description
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
3: Manage level