Configuring the SFTP connection idle timeout period
Once the idle period of an SFTP connection exceeds the specified threshold, the system automatically
tears the connection down.
To configure the SFTP connection idle timeout period:
To do...
1.
Enter system view.
2.
Configure the SFTP
connection idle timeout
period.
Configuring the router an SFTP client
Specifying a source IP address or interface for the SFTP client
configure a client to use only a specified source IP address or interface to access the SFTP server,
enhancing the service manageability.
To specify a source IP address or interface for the SFTP client:
To do...
1.
Enter system view.
2.
Specify a
source IP
address or
interface
for the SFTP
client.
Command...
system-view
sftp server idle-timeout time-out-
value
Command...
system-view
Specify a
source IPv4
sftp client source { ip ip-address |
address or
interface interface-type interface-
interface for the
number }
SFTP client.
Specify a
sftp client ipv6 source { ipv6 ipv6-
source IPv6
address or
address | interface interface-type
interface for the
interface-number }
SFTP client.
Remarks
—
Optional
10 minutes by default
330
Remarks
—
Required.
Use either command.
By default, an SFTP client uses the
IP address of the interface
specified by the route of the router
to access the SFTP server.