Parameter | Description | Value |
---|---|---|
username | Displays the SSH user name. | The value is a string of 1 to 64 case-insensitive characters without
spaces.
NOTE:
The string can contain spaces if it is enclosed with double quotation marks ("). |
This command displays the SSH user name, bound RSA, DSA, or ECC public key name, and service type.
# Display the configuration of the SSH user named client001.
<HUAWEI> display ssh user-information client001
User Name : client001
Authentication-type : password
User-public-key-name : -
User-public-key-type : -
Sftp-directory : -
Service-type : stelnet
Authorization-cmd : No
# Display the configuration of all SSH users.
<HUAWEI> display ssh user-information
User 1: User Name : client001 Authentication-type : password User-public-key-name : - User-public-key-type : - Sftp-directory : - Service-type : stelnet Authorization-cmd : No User 2: User Name : client002 Authentication-type : dsa User-public-key-name : dsakey001 User-public-key-type : dsa Sftp-directory : flash: Service-type : sftp Authorization-cmd : No
Item |
Description |
---|---|
User Name |
SSH user name. Run the ssh user command to set this item. |
Authentication-type |
Authentication mode for an SSH user. The options
are as follows:
Run the ssh user authentication-type command to set this item. |
User-public-key-name |
Peer RSA, DSA, or ECC public key assigned to an SSH user. Run the rsa peer-public-key, dsa peer-public-key, or ecc peer-public-keycommand to set this item. |
User-public-key-type |
The public key type for an SSH user can be RSA, DSA, or ECC. |
Sftp-directory |
SFTP service directory of an SSH user. Run the ssh user sftp-directory command to set this item. |
Service-type |
Service type for an SSH user. The options are as follows:
Run the ssh user service-type command to set this item. |
Authorization-cmd |
Command line authentication mode configured for an SSH user. Run the ssh user authorization-cmd aaa command to set this item. |