display ecc peer-public-key

Function

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

Format

display ecc peer-public-key

display ecc peer-public-key brief

display ecc peer-public-key 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 the name of the ECC 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 ECC key pair configured on the remote end connected to the local device functioning as an SSH client, run the display ecc 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 ecc peer-public-key command, run the ecc 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 ECC public keys.
<HUAWEI> display ecc peer-public-key brief
------------------------------------------
       Bits      Name
------------------------------------------
       521       sat
------------------------------------------
# Display the detailed information about the ECC public key named sat.
<HUAWEI> display ecc peer-public-key name sat
=====================================
    Key name: sat
=====================================
Key Code:
  0400F6A5 D962C5DA A710D61E 64C8EDEB 5209C897 3BBD31ED 0B09CF7E 9C59AB15
  F508D518 7161F2DA D83F83CE 1BFE500F BB8049B6 D54C4CE8 389E453F 3C8E24D5
  2E127501 26F00B25 26A332EC 21FCB570 10391599 E289FFED E6D523C8 10271047
  28954F4F A354CDD5 EA384158 349299BA 39064277 58DBE66B A2F3DA72 23ADEB54
  3AC14A90 84
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.

Key Code

Code of the public key in the local ECC key pair.

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