Created
October 17, 2015 02:43
-
-
Save anubhavsinha/c9508944bc9bd5aa4cd2 to your computer and use it in GitHub Desktop.
Fixing SSH session freeze issue due to Routers/NATs closing inactive connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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