< 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 Specifies the name of an SSH user. The value must be the name of an existing SSH user.

Views

All views

Default Level

3: Management level

Usage Guidelines

This command displays information about an SSH user, including the user name, password, bound RSA public key, and service type.

Example

# Display the configuration of the SSH user admin1.

<sysname> display ssh user-information admin1
  User 1:                                                                       
       User Name            : admin1                                            
       Authentication-type  : -                                                 
       User-public-key-name : -                                                 
       User-public-key-type : -                                                 
       Sftp-directory       : -                                                 
       Service-type         : -                                                 
       Authorization-cmd    : No
Table 1 Description of the display ssh user-information command output

Item

Description

User Name

Name of SSH users

Authentication-type

Authentication mode of SSH users

User-public-key-name

Peer RSA public key assigned to SSH users

Sftp-directory

Authorized directory of the SFTP service for SSH users

Service-type

Service type of SSH users

Authorization-cmd

Command line authorization

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