1. Set SSH Keep Alive
http://einverne.github.io/post/2017/05/ssh-keep-alive.html
https://www.systutorials.com/136731/how-to-keep-linux-ssh-session-alive-from-disconnecting/
- nano /etc/ssh/sshd_config
Add two line
ClientAliveInterval 30 ClientAliveCountMax 60