Created
August 13, 2008 09:22
-
-
Save sids/5221 to your computer and use it in GitHub Desktop.
Linux: sshd config tips
This file contains 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
# sshd config tips | |
# add these lines at the end of /etc/ssh/sshd_config | |
# don't try reverse-dns lookup on connecting clients (this speeds up the initial connection establishment a lot): | |
UseDNS no | |
# make sure the client does not get disconnect due to being idle (ping every 5 mins): | |
ClientAliveInterval 300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment