display dsa peer-public-key

Function

The display dsa peer-public-key command displays information about the DSA public key configured on the remote end.

Format

display dsa peer-public-key

display dsa peer-public-key brief

display dsa peer-public-key name key-name

Parameters

Parameter Description Value
brief

Displays the brief information about the DSA public key configured on the remote end.

-

name key-name

Displays the name of the DSA public key configured on the remote end.

The value is a string of 1 to 40 case-sensitive characters, spaces not supported.

When quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server read

Usage Guidelines

Usage Scenario

To display information about the public key in the DSA key pair configured on the remote end connected to the local device functioning as an SSH client, run the display dsa peer-public-key command. The public key enables the server to authenticate users and permits the login requests of authorized users.

Prerequisites

Before running the display dsa peer-public-key command, run the dsa peer-public-key command to generate the peer public key.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the brief information about all the DSA public keys.
<HUAWEI> display dsa peer-public-key brief
------------------------------------------
      Bits Name                           
------------------------------------------
      2048 dsakey001                      
      2048 key                            
      1024 test                           
------------------------------------------
# Display the detailed information about the DSA public key named dsakey001.
<HUAWEI> display dsa peer-public-key name dsakey001
=====================================
    Key name: dsakey001
    Encoding type: DER
=====================================
Key Code:
30820322
  02820100
    DEDEBA5C 8244DCB8 E696917C EFEBC0B3 E6FB60BE 8B9E36D3 E4EB9CD6 EB7FD210
    219AC0F4 1AD47BF1 EACD435D 39AFA8FA CB6A7819 305EE147 E428912E 60452B37
    CA17D611 C2EE4C46 B4BC7726 54C26856 A99ECFA5 D800367B 31A90522 F139496F
    4182DBFD AAB59973 9AB02185 856A881F 9197368B 92DBF684 9D1C746B A27E12F9
    8A28E4B6 D0587D65 5979A750 5413E91E FC961C3F 79209625 CFA8D7D4 69FA35A3
    9E37B614 047D535D CD63AF30 58B3A25B 79C714B6 326B7DB6 067EBF15 3CC1A720
    B0E1A7E3 9C13FEB3 BA26E6B0 52DC5BFF EE7C5C52 148FE6C2 40738FBB 8F05D416
    B2B5DD72 E3629BB5 9244BF9F A29C4FCD 4EA0EE50 1FC6695D 03D68D51 9324E493
  0214
    C6C484E1 F0076B8A FCAD302B 98B50A3A 542ABEBB 
  02820100
    3AC11746 EE959CBD 30F669C5 7E290BC4 7CB5BBFD 96AE9215 7A29C723 72FE8A02
    EBED3B76 BE810B42 21AD8D32 F7723F83 59F46B66 FF7805CC 3F86D5D6 5BD424BD
    70677EFF 1ACF9B3C CE02CD40 46560DA4 2036205C 6EFAB148 66E6A106 0DF6258B
    EE31CFE7 4B6C59B4 6FE59A9F BE64F982 EC36A669 FF597FB7 9A56E32E C15A0659
    3D17C407 29F587C7 74959017 62B08070 24564B2E E79C6E1D 86793548 76CC662A
    1D3DE1D1 2C79E102 C0B10E5C 9C4428B3 AEB93278 26D4CDE5 189A93EA 531E0FF8
    2199EF35 DF038976 4538434F F39924F0 5BF17AC8 8E340991 B5EA0A62 A915EE63
    F660C092 360C5D2D 796AF230 DB7461F7 C15B6DBA 65C9EFAB 247DB13D 4942E2FF
  02820100
    152BD974 C1758A6D BE609F3B 974278B7 03246768 02EF1115 6283C411 429E318E
    10B2119C 75E99631 81A2C87E 00C89030 B35ABD5F 6C88C916 CE9A2925 F8C3D82E
    1EFE356A 226361A2 E0ECB0EB EEBB8D39 4BF6FE4D 97709503 78CE48B7 45B0819D
    674AF3CA 1742ADC3 EBC7B573 C2CC9AD6 BB733B04 6F6E773E 584FFA3C F7AEB091
    F8B3A64F 35769EF1 5053CA86 1704BBC5 C6864F59 515564EA 3D05A406 C777BB68
    68382183 B0BBC0FC 3A42D4B4 31FDFFDF 1309D02E 52248871 60B399F3 0DA42DB4
    3ACC1841 658FA8AD 6B44564F 6613F6D6 07DF4E11 C19A13CA 5066E86C 62E2D099
    BD1CC266 B8A36A47 5E9D5FC4 B087BC4F 78ACCE2B DAEC8974 FCFA01EB 72E91479
Table 1 Description of the display dsa peer-public-key command output
Item Description
Bits

Length of the DSA public key.

Name

Name of the DSA public key.

Key name

Name of the DSA public key.

Key Code

Code of the DSA public key.

Encoding type

Encoding format of the DSA public key.

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