Skip to content

Instantly share code, notes, and snippets.

@rgo
Forked from knoopx/sshd_config
Created September 5, 2013 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgo/6447835 to your computer and use it in GitHub Desktop.
Save rgo/6447835 to your computer and use it in GitHub Desktop.
# This prevents capistrano from hanging when executing long tasks
# /etc/ssh/sshd_config
TCPKeepAlive yes
ClientAliveInterval 15
ClientAliveCountMax 5
# Restart sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment