Sftp Server Configuration Commands - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

For the description of the numbers at the beginning of FTP output information, refer to the
corresponding section in RFC 959.

SFTP Server Configuration Commands

sftp server enable
Syntax
sftp server enable
undo sftp server
View
System view
Parameters
None
Description
Use the sftp server enable command to enable the SFTP server.
Use the undo sftp server command to disable the SFTP server.
By default, the SFTP server is disabled.
Examples
# Enable the SFTP server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] sftp server enable
%Start SFTP server
sftp timeout
Syntax
sftp timeout time-out-value
undo sftp timeout
View
System view
Parameters
time-out-value: Timeout time, in the range 1 to 35,791, in minutes. The default value is 10.
Description
Use the sftp timeout command to set the idle timeout time on an SFTP server.
Use the undo sftp timeout command to restore the idle timeout time to the default value.
If the idle timeout time exceeds the specified threshold, the system disconnects the SFTP user
automatically.
Examples
# Set the idle timeout time to 500 minutes.
1-19

Advertisement

Table of Contents
loading

Table of Contents