H3C S5120-HI Security Configuration Manual page 285

Hide thumbs Also See for S5120-HI:
Table of Contents

Advertisement

Figure 68 Saving the key pair on the client
Click Save private key to save the private key.
c.
A warning window pops up to prompt you whether to save the private key without any
protection.
Click Yes and enter the name of the file for saving the key (private.ppk in this case).
d.
Transmit the public key file to the server through FTP or TFTP.
e.
Configure the SSH server:
2.
# Generate the RSA key pairs.
<Switch> system-view
[Switch] 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...
++++++++
++++++++++++++
+++++
++++++++
# Generate a DSA key pair.
[Switch] public-key local create dsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
268

Advertisement

Table of Contents
loading

Table of Contents