Created
May 11, 2022 23:02
-
-
Save egeneralov/65cf3057bc3c218c63ec8a0b3a4350f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PermitRootLogin without-password | |
ChallengeResponseAuthentication no | |
UsePAM yes | |
X11Forwarding yes | |
PrintMotd no | |
AcceptEnv LANG LC_* | |
Subsystem sftp /usr/lib/openssh/sftp-server | |
Port 22 | |
PubkeyAuthentication yes | |
ListenAddress 0.0.0.0 | |
SyslogFacility AUTH | |
LogLevel INFO | |
LoginGraceTime 10s | |
MaxAuthTries 10 | |
PasswordAuthentication no | |
PermitEmptyPasswords no | |
GatewayPorts yes | |
AllowAgentForwarding yes | |
UseDNS no | |
AuthorizedKeysFile .ssh/authorized_keys | |
Banner none | |
PrintLastLog yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment