Skip to content

Instantly share code, notes, and snippets.

@nocturo
Created March 23, 2016 08:32
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 nocturo/e99a4ef1fa2ead0ecef5 to your computer and use it in GitHub Desktop.
Save nocturo/e99a4ef1fa2ead0ecef5 to your computer and use it in GitHub Desktop.
ChallengeResponseAuthentication yes
UsePAM yes
Protocol 2
SyslogFacility AUTHPRIV
LogLevel VERBOSE
PermitRootLogin without-password
PubkeyAuthentication yes
PasswordAuthentication yes
Subsystem sftp /usr/libexec/openssh/sftp-server
AuthorizedKeysFile %h/.ssh/authorized_keys
UseLogin no
Port 22
DenyGroups restrictedaccess
DenyGroups root abuse_admin management migrations sr_sys_admin support_manager sys_admin sys_engineer tech_manager
UseDns no
MaxAuthTries 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment