F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
195
Syntax
display ssh user-information [ username ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
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.
Usage guidelines
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.
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
test publickey pubkey sftp
Table 43 Command output
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 or name of the PKI domain which verifies the client certificate.
Service-type
Service type, including SFTP, Stelnet, SCP, and all, where all indicates all
authentication methods are supported.
Related commands
ssh user
sftp server enable
Use sftp server enable to enable the SFTP server function.