
191
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
command:
open 192.168.1.45
b.
Enter username
client002
and password
aabbcc
as prompted to log in to the SFTP server.
Figure 58
SFTP client interface
Publickey authentication enabled SFTP client configuration
example
Network requirements
As shown in
, 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 59
Network diagram
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.