SFTP configuration
This chapter includes these sections:
SFTP overview
•
Configuring the device as an SFTP server
•
Configuring the device an SFTP client
•
SFTP client configuration example
•
•
SFTP server configuration example
SFTP overview
The secure file transfer protocol (SFTP) is a new feature in SSH2.0.
SFTP uses the SSH connection to provide secure data transfer. The device can serve as the SFTP server,
allowing a remote user to log in to the SFTP server for secure file management and transfer. The device
can also serve as an SFTP client, enabling a user to login from the device to a remote device for secure
file transfer.
Configuring the device as an SFTP server
Configuration prerequisites
Before you configure this task, complete the following tasks:
Configure the SSH server.
•
Use the ssh user service-type command to set the service type of SSH users to sftp or all.
•
For more information about the configuration procedures, see the chapter "SSH configuration."
Enabling the SFTP server
This configuration task will enable the SFTP service so that a client can log in to the SFTP server through
SFTP.
Follow these steps to enable the SFTP server:
To do...
Enter system view
Enable the SFTP server
Use the command...
system-view
sftp server enable
266
Remarks
—
Required
Disabled by default