beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 73

background image

17

Figure 7 Generate a key pair on the client 3)


Likewise, to save the private key, click Save private key. 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 in this case).

Figure 8 Save the private key on the client


Then, you need to transmit the public key file to the server through FTP or TFTP.

Step2

Configure the SSH server

# Generate RSA and DSA key pairs and enable SSH server.

system-view

[Device] public-key local create rsa

[Device] public-key local create dsa

[Device] ssh server enable

# Configure an IP address for interface GigabitEthernet 0/1, which the SSH client will use as the
destination for SSH connection.

[Device] interface gigabitethernet 0/1

[Device-GigabitEthernet0/1] ip address 192.168.1.40 255.255.255.0