#ssh stop timeouts

you can stop ssh timeouts by creating the file .ssh/config with the following content

$ cat ~/.ssh/config 
Host *
ServerAliveInterval 60

then

$ chmod 644 .ssh/config