< Home

display ssh user-information

Function

The display ssh user-information command displays the configuration of all SSH users.

Format

display ssh user-information [ username ]

Parameters

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 (").

Views

All views

Default Level

3: Management level

Usage Guidelines

This command displays the SSH user name, bound RSA, DSA, or ECC public key name, and service type.

Example

# 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
Table 1 Description of the display ssh user-information command output

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:
  • password
  • rsa
  • dsa
  • ecc
  • password-rsa (password and RSA)
  • password-dsa (password and DSA)
  • password-ecc (password and ECC)
  • all (password, ECC, DSA, or RSA)

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:
  • sftp
  • stelnet
  • all: The service types are SFTP and STelnet.

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >