42
Example
Enable SSH v2:
TL-SL2428(config)# ip ssh version
v2
ip ssh timeout
Description
The
ip ssh timeout
command is used to specify the idle-timeout time of SSH.
To restore to the factory defaults, please use
ip ssh timeout
command.
Syntax
ip ssh timeout
value
no ip ssh timeout
Parameter
value
——
The Idle-timeout time. During this period, the system will automatically
release the connection if there is no operation from the client. By default, this
value is 120. For TL-SL2210, it ranges from 1 to 999 in seconds; and for
TL-SL2218/ TL-SL2428/ TL-SL2452, it ranges from 1 to 120 in seconds.
Command Mode
Global Configuration Mode
Example
Specify the idle-timeout time of SSH as 100 seconds:
TL-SL2428(config)# ip ssh timeout
100
ip ssh max-client
Description
The
ip ssh max-client
command is used to specify the maximum number of the
connections to the SSH server. To return to the default configuration, please use
no ip ssh max-client
command.
Syntax
ip ssh max-client
num
no ip ssh max-client
Parameter
num
——
The maximum number of the connections to the SSH server. It
ranges from 1 to 5. By default, this value is 5.