Sftp configuration, Enabling an sftp server – H3C Technologies H3C S3100 Series Switches User Manual
Page 776

1-11
[ftp] put config.cfg
# Execute the get command to download the file named switch.bin to the Flash memory of the switch.
[ftp] get switch.bin
# Execute the quit command to terminate the FTP connection and return to user view.
[ftp] quit
# After downloading the file, use the boot boot-loader command to specify the downloaded file
(switch.bin) to be the application for next startup, and then restart the switch. Thus the switch
application is upgraded.
For information about the boot boot-loader command and how to specify the startup file for a switch,
refer to the “System Maintenance and Debugging” module of this manual.
SFTP Configuration
Table 1-10 SFTP configuration tasks
Item
Configuration task
Description
Required
Configuring connection idle time
Optional
SFTP Configuration: A Switch
Operating as an SFTP Server
Supported SFTP client software
—
SFTP Configuration: A Switch
Operating as an SFTP Client
Basic configurations on an SFTP client
—
SFTP Configuration: A Switch Operating as an SFTP Server
Enabling an SFTP server
Before enabling an SFTP server, you need to enable the SSH server function and specify the service
type of the SSH user as SFTP or all. For details, see the SSH server configuration part of SSH
Operation Manual of this manual.
Table 1-11 Enable an SFTP server
Operation
Command
Description
Enter system view
system-view
—
Enable an SFTP server
sftp server enable
Required
Disabled by default