Skip to content

Instantly share code, notes, and snippets.

@javiervidal
Forked from knoopx/sshd_config
Created August 9, 2013 06:10
Show Gist options
  • Save javiervidal/6191492 to your computer and use it in GitHub Desktop.
Save javiervidal/6191492 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