$ sudo vim /etc/ssh/sshd_config
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999
$ sudo service sshd restart
Created
August 30, 2014 01:39
-
-
Save FlatMapIO/8fd59d3d7cdb221d8b04 to your computer and use it in GitHub Desktop.
ssh keeplive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment