ssh alive timeout code example
Example 1: increase ssh session timeout linux
ssh -o ServerAliveInterval=60 -i Firstme.pem [email protected]
Example 2: ssh connection timeout
ClientAliveInterval 1200
ClientAliveCountMax 3
ssh -o ServerAliveInterval=60 -i Firstme.pem [email protected]
ClientAliveInterval 1200
ClientAliveCountMax 3