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

Fit AP V200R010C00 Command Reference

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-10-19 11:50:20+00:00                              
Key name    : Huawei_Host_ECC         
Key modulus : 521                                                               
Key type    : ECC encryption Key                                                
Key fingerprint:                                                                
=====================================================                           
Key code:                                                                       
    0401CE1E 5EF3B843 CD917648 1D70EF8F CECE8518 5B32ED5F 529E9DC4 D16EDF1A     
    5F6E6389 10AAE2D4 74FD9DA7 F05AB123 9AF3EE64 9F0BAF99 A0CBF55B E319B2D1     
    8EDEBB01 7C63469B C62A2256 3EAEA0BD 486F9524 8559C7EF 24D969D1 11093BBF     
    27F770E7 03E28ABA BB357E5B 28EF04CC EA931C81 C7D7EBD8 5797B1CD 05D9B497     
    56D91126 E9                                                                 
                                                                                
 Host public key for PEM format code:                                           
---- BEGIN SSH2 PUBLIC KEY ----                                                 
AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAHOHl7zuEPN                
kXZIHXDvj87OhRhbMu1fUp6dxNFu3xpfbmOJEKri1HT9nafwWrEjmvPuZJ8Lr5mg                
y/Vb4xmy0Y7euwF8Y0abxioiVj6uoL1Ib5UkhVnH7yTZadERCTu/J/dw5wPiirq7                
NX5bKO8EzOqTHIHH1+vYV5exzQXZtJdW2REm6Q==                                        
---- END SSH2 PUBLIC KEY ----                                                   
                                                                                
Public key code for pasting into OpenSSH authorized_keys file :                 
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAHOHl7z
uEPNkXZIHXDvj87OhRhbMu1fUp6dxNFu3xpfbmOJEKri1HT9nafwWrEjmvPuZJ8Lr5mgy/Vb4xmy0Y7e
uwF8Y0abxioiVj6uoL1Ib5UkhVnH7yTZadERCTu/J/dw5wPiirq7NX5bKO8EzOqTHIHH1+vYV5exzQXZ
tJdW2REm6Q== ecdsa-key   
Table 2-15  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 on a client.

Key type

Type of the public key in the local ECC key pair. "ECC encryption Key" indicates an ECC public key.

Key code

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

Host public key for PEM format code

PEM code of the public key in the local ECC key pair on a client.

Public key code for pasting into OpenSSH authorized_keys file

Public key in the local ECC key pair on a client that is used for OpenSSH authorization. This information can be used after being copied to the OpenSSH authorized_keys file.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 90752

Downloads: 61

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