SSH
Disable SSH timeout
sudo vim /etc/ssh/sshd_configSet these options as the followings:
TCPKeepAlive no
ClientAliveInterval 3200
ClientAliveCountMax 30Restart SSH system service
sudo systemctl restart ssh
# or sudo /etc/init.d/ssh restartIncrease SSH connection
$ vim ~/.ssh/config
# Content below
Host *
ServerAliveInterval 240Last updated
Was this helpful?