599
sftp server enable
Use
sftp server enable
to enable the SFTP server.
Use
undo sftp server enable
to disable the SFTP server.
Syntax
sftp server enable
undo sftp server enable
Default
The SFTP server is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the SFTP server.
<Sysname> system-view
[Sysname] sftp server enable
Related commands
display
ssh
server
sftp server idle-timeout
Use
sftp server idle-timeout
to set the idle timeout timer for SFTP connections on an SFTP server.
Use
undo sftp server idle-timeout
to restore the default.
Syntax
sftp server idle-timeout
time-out-value
undo sftp server idle-timeout
Default
The idle timeout timer is 10 minutes for SFTP connections.
Views
System view
Predefined user roles
network-admin
Parameters
time-out-value
: Specifies an idle timeout timer in the range of 1 to 35791 minutes.
Usage guidelines
If an SFTP connection is idle when the idle timeout timer expires, the system automatically
terminates the connection. To promptly release connection resources, set the idle timeout timer to a
small value when many SFTP connections concurrently exist.
Examples
# Set the idle timeout timer to 500 minutes for SFTP connections.