Opção de tempo limite do SSH
ssh -o ConnectTimeout=30 <hostName> # 30 seconds
VasteMonde
ssh -o ConnectTimeout=30 <hostName> # 30 seconds
ssh -o ServerAliveInterval=30 ip address
# change the TMOUT on server side
export TMOUT=10000