Displaying And Maintaining Public Keys; Public Key Configuration Examples; Configuring The Public Key Of A Peer Manually - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Displaying and Maintaining Public Keys

To do...
Display the public keys of the
local key pairs
Display the public keys of the
peers

Public Key Configuration Examples

Configuring the Public Key of a Peer Manually

Network requirements
As shown in
Figure
signature. Before configuring authentication parameters on Device B, configure the public key of Device
A on Device B. More specifically,
Configure Device B to use the asymmetric key algorithm of RSA for identity authentication of
Device A.
Manually configure the host public key of Device A on Device B.
Figure 1-2 Network diagram for manually configuring the public key of a peer
Configuration procedure
1)
Configure Device A
# Create RSA key pairs on Device A.
<DeviceA> system-view
[DeviceA] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++
++++++
++++++++
++++++++
# Display the public keys of the created RSA key pairs.
[DeviceA] display public-key local rsa public
=====================================================
Use the command...
display public-key local { dsa
| rsa } public
display public-key peer [ brief
| name publickey-name ]
1-2, to prevent illegal access, Device B authenticates Device A through digital
Available in any view
1-5
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents