Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2012 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3300233 to your computer and use it in GitHub Desktop.
Save anonymous/3300233 to your computer and use it in GitHub Desktop.
sshd_config
Port xxxxxxxx
ListenAddress 0.0.0.0
AllowUsers xxxxxxx
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
LoginGraceTime 2m
PermitRootLogin no
MaxAuthTries 6
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
X11Forwarding no
UseDNS no
Subsystem sftp /usr/lib/ssh/sftp-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment