Skip to content

Instantly share code, notes, and snippets.

@sids
Created August 13, 2008 09:22
Show Gist options
  • Save sids/5221 to your computer and use it in GitHub Desktop.
Save sids/5221 to your computer and use it in GitHub Desktop.
Linux: sshd config tips
# 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