summaryrefslogtreecommitdiffstats
path: root/files/etc/ssh
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-04 12:59:39 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-04 13:42:18 +0100
commit6691410f945719e62601c3d69d9b2ff9c4cfb4fb (patch)
tree9ea4170a6d5d50ac14a326f42fa8b13303734241 /files/etc/ssh
parent609574f51c5c08af71419bddc1be16ad5668882a (diff)
Base system.
Diffstat (limited to 'files/etc/ssh')
-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