No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show user_ssh_auth_info general

show user_ssh_auth_info general

Function

The show user_ssh_auth_info general command is used to query the SSH authentication information about users.

Format

show user_ssh_auth_info general [ user_name=? ]

Parameters

Parameter

Description

Value

user_name=? Name of the user that you want to query.

The value contains 1 to 64 ASCII characters, excluding double quotation marks ("). To obtain the value, run the "show user" command.

Level

Super administrator

Usage Guidelines

  • Run the "show user_ssh_auth_info general" command to query the SSH authentication information about all users.
  • Run the "show user_ssh_auth_info general user_name=?" command to query the SSH authentication information about a specified user.

Example

  • Query the SSH authentication information about all users.

    admin:/>show user_ssh_auth_info general
     
      Name            Auth Mode     Fingerprint
      --------------  ------------  -----------------------------------------------  
      admin           Password      --
      mm_user         Password      --      
      testUser        Public_key    29:b8:d9:a4:0c:a6:99:e2:c0:34:68:23:77:47:63:0f
     
  • Query the SSH authentication information about user "testUser".

    admin:/>show user_ssh_auth_info general user_name=testUser
      
      Name        : testUser             
      Auth Mode   : public_key   
      Public Key  : ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDN9B+eG2I4+kYkyMz1yFZUHchHgNAR+uvntY
                    mt7iKhtG9tI9hi+SvTGohH3ddMip8kz5ZwaUryMUYnRh1pOMBk5zho6ar/EAbuz7xC6WCe43zz
                    axC1wvJiBHZTEH7UZPkaPt3FIhCKfv0hNWp0nMXa3AWyIVPrR0P5tDNO4dJtz+qcKwYV+/XggD
                    7YkGiCJzzRjLcSAN6mSSuI3SmsnPVkods+yaHzJ6244Ux2FefyiidOxY4Yxa/5Qbbipa3PpPr6
                    HnNOKnkPGkqM+xZW7KNJAyAEU63m/c1TpNaYz02AVLQiuAhbmvexQYgMcjviIE43f/D2Y6riRM
                    qAQJhVHnC9 root@Storage
      Fingerprint : 29:b8:d9:a4:0c:a6:99:e2:c0:34:68:23:77:47:63:0f

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

User name.

Auth Mode

SSH authentication mode.

Public Key

Public key.

Fingerprint

Public key fingerprint.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 306955

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next