ssh timeour code example
Example 1: increase ssh session timeout linux
ssh -o ServerAliveInterval=60 -i Firstme.pem ec2-user@3.90.84.197
Example 2: increase ssh timeout
#Add these lines on sshd_config
ClientAliveInterval 120
ClientAliveCountMax 720