beautypg.com

Network requirements – H3C Technologies H3C S6300 Series Switches User Manual

Page 313

background image

298

[Switch-luser-manage-client002] quit

# Create an SSH user client002 with the authentication method password and service type sftp.

[Switch] ssh user client002 service-type sftp authentication-type password

2.

Establish a connection between the SFTP client and the SFTP server:
The device supports different types of SFTP client software. This example uses an SFTP client that
runs PSFTP of PuTTy version 0.58.

NOTE:

PSFTP supports only password authentication.

To establish a connection to the SFTP server:

a.

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

Figure 95

, 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 95 SFTP client interface

Publickey authentication enabled SFTP client configuration
example

Network requirements

As shown in

Figure 96

, 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.