445
undo sftp server idle-timeout
Default
The idle timeout timer is 10 minutes for SFTP connections.
Views
System view
Predefined user roles
network-admin
mdc-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.
<Sysname> system-view
[Sysname] sftp server idle-timeout 500
Related commands
display ssh server
ssh server acl
Use
ssh server acl
to specify an ACL to control IPv4 SSH connections to the server.
Use
undo ssh server acl
to restore the default.
Syntax
ssh server acl
{
advanced-acl-number
|
basic-acl-number
|
mac
mac-acl-number
}
undo ssh server acl
Default
No ACLs are specified and all IPv4 SSH clients can initiate SSH connections to the server.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
advanced-acl-number
: Specifies an IPv4 advanced ACL number in the range of 3000 to 3999.
basic-acl-number
: Specifies an IPv4 basic ACL number in the range of 2000 to 2999.
mac mac-acl-number:
Specifies a Layer 2 ACL by its number in the range of 4000 to 4999.