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
|
||||
|
||||
# Client timeout
|
||||
ClientAliveInterval 600
|
||||
ClientAliveCountMax 0
|
||||
ClientAliveInterval 60
|
||||
ClientAliveCountMax 100
|
||||
|
||||
# Compression (only after authentication)
|
||||
Compression delayed
|
||||
|
Reference in New Issue
Block a user