To prevent Tmux windows which spawn ssh connections from hanging due to connection drop…
Add the following properties to ~/.ssh/config
:
KeepAlive yes
ServerAliveInterval 60
This will prevent the ssh connection dropping out.
This probably shouldn’t be used for production hosts, being bad network etiquette.
Thanks
Info from this stackoverflow response.