The solution appears to be to update
/etc/ssh/sshd_config
to set:
ClientAliveInterval 60
ClientAliveCountMax 10
and or in /etc/ssh/ssh_config
: ServerAliveInterval 60
ServerAliveCountMax 10
The server is the host that receives the connection...
These are taken from here...