241
Default 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 the Fundamentals Configuration 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, which is a case-sensitive string of 1 to 256 characters.
Description
Use the display ssh user-information command 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.
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 all
test publickey pubkey sftp
Table 36 Output description
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