If you ever see your SSH session gets killed, don’t panic
There is nothing wrong, you ne
ed to modify the following directives in your /etc/ssh/sshd_config
vim /etc/ssh/sshd_config
Update these directives :
TCPKeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 99999
Restart ssh daemon
/etc/init.d/sshd restart
DONE!
{ 0 comments… add one now }