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

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
display ecc local-key-pair public

display ecc local-key-pair public

Function

The display ecc local-key-pair public command displays information about the public key in the local Elliptic Curves Cryptography (ECC) key pair.

Format

display ecc local-key-pair public

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the display ecc local-key-pair public command to check information about the public key in the local ECC key pair on a client and then copy the public key to the server. The public key enables a server to authenticate users and ensures the login of authorized users.

Pre-configuration Tasks

You must run the ecc local-key-pair create command to generate a local ECC host key pair before using the command.

Example

# Display information about the public key in the local ECC key pair on a client.

<Huawei> display ecc local-key-pair public
=====================================================                           
Time of Key pair created:2016-06-10 04:45:43+00:00 
Key name : localhost_Host_ECC 
Key modulus : 256 
Key type : ECC encryption Key 
Key fingerprint: 
===================================================== 
Key code: 
04B8EC97 382591C6 BE764727 0B06F673 4E3FF3C9 C10F98F9 4D7D9B09 593DF604
D1465979 107F638D 59771BD1 C1C2D325 B7C3A331 9646B76F A9BACA98 4C0F19D2
BC

Host public key for PEM format code: 
---- BEGIN SSH2 PUBLIC KEY ---- 
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLjslzglkca+
dkcnCwb2c04/88nBD5j5TX2bCVk99gTRRll5EH9jjVl3G9HBwtMlt8OjMZZGt2+p
usqYTA8Z0rw=
---- END SSH2 PUBLIC KEY ---- 

Public key code for pasting into OpenSSH authorized_keys file : 
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLjslzglkca+dkcnCwb2c04/88nBD5j5TX2bCVk99gTRRll5EH9jjVl3G9HB
wtMlt8OjMZZGt2+pusqYTA8Z0rw= ecdsa-key 
Table 2-23  Description of the display ecc local-key-pair public command output

Item

Description

Time of Key pair created

Time when the public key in the local ECC key pair is generated, in the format of YYYY-MM-DD HH:MM:SS.

Key Name

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

Key modulus

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

Key Type

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

Key Code

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

Host public key for PEM format code

PEM code of the public key in the local ECC key pair.

Public key code for pasting into OpenSSH authorized_keys file

Public key in the local ECC key pair used for OpenSSH authentication. Copy the public key to the authorized_keys file of OpenSSH to make the key effective.

Related Topics
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 48813

Downloads: 102

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