Displaying And Maintaining Public Keys - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

Configure it manually: You can input on or copy the public key of the peer to the local host. The
copied public key must have not been converted and be in the distinguished encoding rules (DER)
encoding format.
Import it from the public key file: The system automatically converts the public key to a string coded
using the PKCS (Public Key Cryptography Standards). Before importing the public key, you must
upload the peer's public key file (in binary) to the local host through FTP or TFTP.
You are recommended to configure the public key of the peer by importing it from a public key file.
The device supports up to 20 host pubic keys of peers.
Follow these steps to configure the public key of a peer manually:
To do...
Enter system view
Enter public key view
Enter public key code view
Configure a public key of the
peer
Return to public key view
Return to system view
Follow these steps to import the host public key of a peer from the public key file:
To do...
Enter system view
Import the host public key of a
peer from the public key file

Displaying and Maintaining Public Keys

To do...
Display the public keys of the
local key pairs
Display the public keys of the
peers
Use the command...
system-view
public-key peer keyname
public-key-code begin
Enter the key
public-key-code end
peer-public-key end
Use the command...
system-view
public-key peer keyname
import sshkey filename
Use the command...
display public-key local { dsa
| rsa } public
display public-key peer [ brief
| name publickey-name ]
1-4
Remarks
Required
Spaces and carriage returns
are allowed between
characters.
When you exit public key code
view, the system automatically
saves the public key.
Remarks
Required
Remarks
Available in any view

Advertisement

Chapters

Table of Contents
loading

Table of Contents