442
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
username
: Specifies an SSH username, a case-sensitive string of 1 to 80 characters. If you do not
specify an SSH user, this command displays information about all SSH users.
Usage guidelines
This command displays information only about SSH users that are configured by using the
ssh user
command on the SSH 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 Stelnet|SFTP
test publickey pubkey SFTP
Table 61 Command output
Field
Description
Total ssh users
Total number of SSH users.
Authentication-type
Authentication methods:
•
Password authentication.
•
Publickey authentication.
•
Password-publickey authentication.
•
Any authentication.
User-public-key-name
Public key name of the user.
This field is empty if the authentication method is password
authentication.
Service-type
Service types:
•
Stelnet.
•
SFTP.
•
SCP.
•
NETCONF.
If multiple service types are available for an SSH user, they are
separated by vertical bars (|).
Related commands
ssh user
free ssh
Use
free ssh
to disconnect SSH sessions.