SSH Keep Alive
Bash / Linux Commands
Reduce ssh timeouts
Create a config file within the ssh folder and configure with the settings below to greatly reduce the number of time outs.
ServerAliveInterval 30
ServerAliveCountMax 36
Code
cd ~/.ssh/
nano config
ServerAliveInterval 30
ServerAliveCountMax 36