Skip to content

Instantly share code, notes, and snippets.

@FlatMapIO
Created August 30, 2014 01:39
Show Gist options
  • Save FlatMapIO/8fd59d3d7cdb221d8b04 to your computer and use it in GitHub Desktop.
Save FlatMapIO/8fd59d3d7cdb221d8b04 to your computer and use it in GitHub Desktop.
ssh keeplive
$ sudo vim /etc/ssh/sshd_config


TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999


$ sudo service sshd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment