89 
SFTP SERVICE
When configuring SFTP, go to these sections for information you are interested in:
■ “SFTP Overview” on page 1131
■ “Configuring an SFTP Server” on page 1131
■ “Configuring an SFTP Client” on page 1132
■ “SFTP Configuration Example” on page 1135
SFTP Overview The secure file transfer protocol (SFTP) is a new feature in SSH 2.0.
SFTP uses the SSH connection to provide secure data transfer. The device can serve 
as the SFTP server, allowing a remote user to login to the SFTP server for secure file 
management and transfer. The device can also server as an SFTP client, enabling a 
user to login from the device to a remote device for secure file transfer.
Configuring an SFTP 
Server
Configuration
Prerequisites
■ You have configured the SSH server. For the detailed configuration procedure, 
refer to “Configuring the Device as an SSH Server” on page 1110.
■ You have used the ssh user service-type command to set the service type of 
SSH users to sftp or all. For configuration procedure, refer to “Configuring an 
SSH User” on page 1113.
Enabling the SFTP Server This configuration task is to enable the SFTP service so that a client can login to the 
SFTP server through SFTP.
Follow these steps to enable the SFTP server:
n
When the device functions as the SFTP server, only one client can access the SFTP 
server at a time. If the SFTP client uses WinSCP, a file on the server cannot be 
modified directly; it can only be downloaded to a local place, modified, and then 
uploaded to the server.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enable the SFTP server  sftp server enable Required
Disabled by default