89 SFTP SERVICEWhen 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 1135SFTP 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 serveas the SFTP server, allowing a remote user to login to the SFTP server for secure filemanagement and transfer. The device can also server as an SFTP client, enabling auser to login from the device to a remote device for secure file transfer.Configuring an SFTPServerConfigurationPrerequisites■ 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 ofSSH users to sftp or all. For configuration procedure, refer to “Configuring anSSH User” on page 1113.Enabling the SFTP Server This configuration task is to enable the SFTP service so that a client can login to theSFTP 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 SFTPserver at a time. If the SFTP client uses WinSCP, a file on the server cannot bemodified directly; it can only be downloaded to a local place, modified, and thenuploaded to the server.To do… Use the command… RemarksEnter system view system-view -Enable the SFTP server sftp server enable RequiredDisabled by default