ssh -o ConnectTimeout=30 # 30 seconds
ssh -o ServerAliveInterval=30 ip address # change the TMOUT on server side export TMOUT=10000