Skip to content

Instantly share code, notes, and snippets.

@Alexnder
Last active August 29, 2015 14:18
Show Gist options
  • Save Alexnder/3bc096052fbf96e621b9 to your computer and use it in GitHub Desktop.
Save Alexnder/3bc096052fbf96e621b9 to your computer and use it in GitHub Desktop.
sshd_config

nano /etc/ssh/sshd_config

Config to long live ssh sessions

TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 10

Restart

service ssh restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment