Skip to content

Instantly share code, notes, and snippets.

@jaimeiniesta
Forked from knoopx/sshd_config
Created August 8, 2013 17:18
Show Gist options
  • Save jaimeiniesta/6186651 to your computer and use it in GitHub Desktop.
Save jaimeiniesta/6186651 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