H3C Technologies H3C S12500-X Series Switches User Manual

Page 211

Advertising
background image

199

To establish a connection to the SFTP server:

a.

Run the psftp.exe to launch the client interface shown in

903H

Figure 60

, and enter the following

command:

open 192.168.1.45

b.

Enter username client002 and password aabbcc as prompted to log in to the SFTP server.

Figure 60 SFTP client interface

286B

Publickey authentication enabled SFTP client configuration
example

506B

Network requirements

As shown in

904H

Figure 61

, you can log in to Switch B through the SFTP client that runs on Switch A and are

assigned the user role network-admin to execute file management and transfer operations. Switch B acts

as the SFTP server and uses publickey authentication and the RSA public key algorithm.

Figure 61 Network diagram

507B

Configuration procedure

In the server configuration, the client's host public key is required. Use the client software to generate the

RSA key pairs on the client before configuring the SFTP server.

1.

Configure the SFTP client:
# Assign an IP address to VLAN-interface 2.

<SwitchA> system-view

Advertising