beautypg.com

H3C Technologies H3C S6300 Series Switches User Manual

Page 303

background image

288

Figure 88 Saving a key pair on the client

d.

Click Save private key to save the private key.
A confirmation dialog box appears.

e.

Click Yes, enter a file name (private.ppk in this example), and click Save.

f.

Transmit the public key file to the server through FTP or TFTP. (Details not shown.)

2.

Configure the Stelnet server:
# Generate RSA key pairs.

system-view

[Switch] public-key local create rsa

The range of public key size is (512 ~ 2048).

If the key modulus is greater than 512, it will take a few minutes.

Press CTRL+C to abort.

Input the modulus length [default = 1024]:

Generating Keys...

........................++++++

...................++++++

..++++++++

............++++++++

Create the key pair successfully.

# Generate a DSA key pair.

[Switch] public-key local create dsa

The range of public key size is (512 ~ 2048).

If the key modulus is greater than 512, it will take a few minutes.

Press CTRL+C to abort.

Input the modulus length [default = 1024]: