Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
username: Specifies an SSH username, a case-sensitive string of 1 to 80 characters. If no SSH user is
specified, this command displays information about all SSH users.
Usage guidelines
This command only displays information about SSH users configured through 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 null Stelnet|SFTP
test publickey pubkey SFTP
Table 29 Command output
Field Descri
tion
Total ssh users Total number of SSH users.
Authentication-type
Authentication methods, including password authentication, publickey
authentication, password-publickey authentication, and any
authentication. If password authentication is used, the public key of the
user displays as "null."
User-public-key-name Public key name of the user.
Service-type
Service types, including Stelnet, SFTP, and SCP.
If multiple service types are displayed at the same time, it indicates that
these services are available for SSH users.
Related commands
ssh user
sftp server enable
Use sftp server enable to enable the SFTP server function.
Use undo sftp server enable to disable the SFTP server function.
Syntax
sftp server enable
230