< Home

display ecc peer-public-key

Function

The display ecc peer-public-key command displays information about the Elliptic Curves Cryptography (ECC) public key configured on the remote end.

Format

display ecc peer-public-key [ brief | name key-name ]

Parameters

Parameter Description Value
brief Displays the brief information about the ECC public key configured on the remote end. -
name key-name Displays information about an ECC public key with a specified name configured on the remote end. The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the display ecc peer-public-key command on a client to check information about the public key configured on the remote end. The public key enables a server to authenticate users and ensures the login of authorized users.

Example

# Display the information about the ECC public keys of 127.0.0.1.

<HUAWEI> display ecc peer-public-key
=====================================                                           
    Key name: 127.0.0.1                                                         
    Encoding type: DER                                                          
=====================================                                           
Key Code:                                                                       
    04013184 A3311697 89DF558B 7F67BF9D BD95DBD5 280D659F 0E29852C AEC2FFBA     
    1913AC2A 88247ADA 46BEBEBE 1829C0DA 3BABC8FC 8F6EAD28 2AE2C6A8 116BAA3A     
    540E6B00 34E033D8 9D84841B 0D33DAD8 DEDD1C09 2B70B3DB 5AF0FCB2 37DF1C82     
    C4C622A6 85B23698 195DA60F 06858ADB DD743937 B4A29C4C FB28B40B BCEEE036     
    1DE61BD2 24     

# Display the brief information about all the ECC public keys.

<HUAWEI> display ecc peer-public-key brief
  Bits   Name                                                                   
----------------------                                                          
  521   127.0.0.1                                                               
  384   192.168.131.203     
Table 1 Description of the display ecc peer-public-key command output

Item

Description

Bits

Length of the ECC public key configured on the remote end.

Name

Name of the ECC public key configured on the remote end.

Key name

Name of the ECC public key configured on the remote end.

Encoding type

Encoding type of the ECC public key configured on the remote end.

  • OPENSSH

    If OpenSSH is specified, data is Base64 encoded.

    OpenSSH is derived from PEM.

  • PEM

    If PEM is specified, data is Base64 encoded.

  • DER

    If DER is specified, data is Base16 encoded.

Key Code

Code of the public key in the local ECC key pair configured using the ecc local-key-pair create command.

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