summaryrefslogtreecommitdiffstats
path: root/files/etc/ssh/sshd_config.d
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/ssh/sshd_config.d')
-rw-r--r--files/etc/ssh/sshd_config.d/local.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/etc/ssh/sshd_config.d/local.conf b/files/etc/ssh/sshd_config.d/local.conf
new file mode 100644
index 0000000..3a5323f
--- /dev/null
+++ b/files/etc/ssh/sshd_config.d/local.conf
@@ -0,0 +1,10 @@
+HostKey /etc/ssh/ssh_host_rsa_key
+HostKey /etc/ssh/ssh_host_ed25519_key
+
+PermitRootLogin no
+AllowGroups ssh-login
+
+PasswordAuthentication no
+PermitEmptyPasswords no
+ChallengeResponseAuthentication no
+X11Forwarding no