The display ecc peer-public-key command displays information about the ECC public key configured on the remote end.
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. |
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.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ecc peer-public-key brief
------------------------------------------
Bits Name
------------------------------------------
521 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
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. |