"You can fix this using the SSH config option
ServerAliveInterval. SSH options can be set on the command-line
(with the -o option), or by editing your ~/.ssh/config or
/etc/ssh_config files. Note that SSH uses the first setting that it
encounters for an option, and it reads command-line options, then
per-user config, then the global config, and general/default ones
at the end."