Distributing A Local Host Public Key; Exporting A Host Public Key In A Specific Format To A File - H3C S5830V2 Security Configuration Manual

Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Step
2.
Create local key pairs.

Distributing a local host public key

You must distribute a local host public key to a peer device so the peer device can use the public key to
encrypt information sent to the local device or authenticate the digital signature signed by the local
device.
To distribute a local host public key:
1.
Record the key or export the key to a file.
2.
Transfer the key, for example, by using FTP or TFTP.
This section covers only the first task.
The following are the methods available for recording or exporting a local host public key:

Exporting a host public key in a specific format to a file

keys from a file on the peer device.)
Displaying a host public key in a specific format and saving it to a file
import public keys from a file on the peer device.)
Displaying a host public key
device.)
Exporting a host public key in a specific format to a file
Step
1.
Enter system view.
2.
Export a local host public key
in a specific format to a file.
Command
public-key local create { dsa |
ecdsa | rsa } [ name key-name ]
(Use this method if you must manually enter the key on the peer
Command
system-view
Export an RSA host public key:
In non-FIPS mode:
public-key local export rsa [ name key-name ] { openssh | ssh1 |
ssh2 } filename
In FIPS mode:
public-key local export rsa [ name key-name ] { openssh | ssh2 }
filename
Export a DSA host public key:
public-key local export dsa [ name key-name ] { openssh | ssh2 }
filename
117
Remarks
By default, no local key pair exists.
(Use this method if you can import public
(Use this method if you can

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents