Skip to content

Instantly share code, notes, and snippets.

@anubhavsinha
Created October 17, 2015 02:43
Show Gist options
  • Save anubhavsinha/c9508944bc9bd5aa4cd2 to your computer and use it in GitHub Desktop.
Save anubhavsinha/c9508944bc9bd5aa4cd2 to your computer and use it in GitHub Desktop.
Fixing SSH session freeze issue due to Routers/NATs closing inactive connections
# sudo vi /etc/ssh/ssh_config
# keep ssh sessions fresh
Host *
ServerAliveInterval 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment