330
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…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Configure the SFTP
connection idle timeout
period.
sftp server idle-timeout
time-out-
value
Optional
10 minutes by default
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…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Specify a
source IP
address or
interface
for the SFTP
client.
Specify a
source IPv4
address or
interface for the
SFTP client.
sftp client source
{
ip
ip-address
|
interface
interface-type
interface-
number
}
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.
Specify a
source IPv6
address or
interface for the
SFTP client.
sftp client ipv6 source
{
ipv6
ipv6-
address
|
interface
interface-type
interface-number
}