Increase timeout for SSH sessions
Stll check relatively often the client is still there, but check many times so the connection stays open a decent amount of time. Especially useful for long-running commands.
This commit is contained in:
@ -25,8 +25,8 @@ AuthenticationMethods publickey
|
|||||||
PermitRootLogin no
|
PermitRootLogin no
|
||||||
|
|
||||||
# Client timeout
|
# Client timeout
|
||||||
ClientAliveInterval 600
|
ClientAliveInterval 60
|
||||||
ClientAliveCountMax 0
|
ClientAliveCountMax 100
|
||||||
|
|
||||||
# Compression (only after authentication)
|
# Compression (only after authentication)
|
||||||
Compression delayed
|
Compression delayed
|
||||||
|
Reference in New Issue
Block a user