Created
October 15, 2016 02:26
-
-
Save carlosjs23/cf4e77ba95a2d4647ed02be249fc89ff to your computer and use it in GitHub Desktop.
Remove SSH timeout
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
1. Open /etc/ssh/sshd_config | |
2. Search for #TCPKeepAlive yes -> uncoment it, then set to no | |
3. Search for #ClientAliveInterval 0 -> uncoment it, then set to 30 | |
4. Search for #ClientAliveCountMax 3 -> uncoment it, then set to 100 | |
5. Save and restart: systemctl restart sshd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment