Created
January 15, 2020 18:14
-
-
Save maqp/6b2c430343d79e06e4f55b49d7e74927 to your computer and use it in GitHub Desktop.
sshd_config
This file contains hidden or 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
# Server authentication | |
Protocol 2 | |
HostKey /etc/ssh/ssh_host_ed25519_key | |
# Client authentication (Public key of client goes to ~/.ssh/authorized_keys) | |
PermitEmptyPasswords no | |
PasswordAuthentication yes | |
ChallengeResponseAuthentication no | |
PubkeyAuthentication yes | |
# Key exchange | |
KexAlgorithms [email protected] | |
# Symmetric ciphers | |
Ciphers [email protected] | |
# Message Authentication Codes | |
MACs [email protected] | |
# Misc | |
Port 22 | |
SyslogFacility AUTH | |
LogLevel INFO | |
LoginGraceTime 120 | |
PermitRootLogin no | |
StrictModes yes | |
IgnoreRhosts yes | |
HostbasedAuthentication no | |
IgnoreUserKnownHosts yes | |
X11Forwarding no | |
X11DisplayOffset 10 | |
PrintMotd no | |
PrintLastLog yes | |
TCPKeepAlive yes | |
AcceptEnv LANG LC_* | |
Subsystem sftp /usr/lib/openssh/sftp-server | |
ChallengeResponseAuthentication no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment