Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ag-michael/738c69e131e9468cfcef0b94cb96e151 to your computer and use it in GitHub Desktop.
Save ag-michael/738c69e131e9468cfcef0b94cb96e151 to your computer and use it in GitHub Desktop.
SyslogFacility AUTH
LogLevel INFO
PermitRootLogin no
StrictModes yes
MaxAuthTries 2
MaxSessions 2
AuthorizedKeysFile .ssh/authorized_keys
IgnoreRhosts yes
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
AllowTcpForwarding no
X11Forwarding no
PrintMotd no
UseDNS no
Protocol 2
PermitTunnel no
Banner /etc/sshbanner
AcceptEnv LANG LC_*
ClientAliveCountMax 2
Compression No
LogLevel VERBOSE
TCPKeepAlive no
AllowAgentForwarding no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment