Forum Moderators: bakedjake
Therefore after some testing I added the following to my sshd_config:
ClientAliveInterval 15
ClientAliveCountMax 5
The ClientAlive messages are sent over the encrypted channel between the endpoints of the connection, i.e. de server and the client. They will pass through the firewall. This will keep your connection running, even if it is idle for a long time.