1-2

Introduction to SFTP

Secure FTP (SFTP) is established based on an SSH2 connection. It allows a remote user to log in to the
switching engine to manage and transmit files, providing a securer guarantee for data transmission. In
addition, since the device can be used as a client, you can log in to remote devices to transfer files
securely.
FTP Configuration
Complete the following tasks to configure FTP:
Task Remarks
Creating an FTP user Required
Enabling an FTP server Required
Configuring connection idle time Optional
Specifying the source interface and
source IP address for an FTP server Optional
Disconnecting a specified user Optional
Configuring the banner for an FTP server Optional
FTP Configuration: The
Device Operating as an FTP
Server
Displaying FTP server information Optional
Basic configurations on an FTP client
FTP Configuration: The
Device Operating as an FTP
Client Specifying the source interface and
source IP address for an FTP client Optional

FTP Configuration: The Device Operating as an FTP Server

Creating an FTP user

Configure the user name and password for the FTP user and set the service type to FTP. To use FTP
services, a user must provide a user name and password for being authenticated by the FTP server.
Only users that pass the authentication have access to the FTP server.
Follow these steps to create an FTP user:
To do… Use the command… Remarks
Enter system view system-view
Add a local user and enter local
user view local-user user-name Required
By default, no local user is
configured.
Configure a password for the
specified user password { simple | cipher }
password
Optional
By default, no password is
configured.
Configure the service type as
FTP service-type ftp Required
By default, no service is
configured.