Skip to content

Instantly share code, notes, and snippets.

@txomon
Created May 23, 2015 14:45
Show Gist options
  • Save txomon/ec8abc58412607037615 to your computer and use it in GitHub Desktop.
Save txomon/ec8abc58412607037615 to your computer and use it in GitHub Desktop.
sshd_config
AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no # pam does that
UsePrivilegeSeparation sandbox # Default for new installations.
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