From 6691410f945719e62601c3d69d9b2ff9c4cfb4fb Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 4 Jan 2024 12:59:39 +0100 Subject: Base system. --- files/etc/ssh/sshd_config.d/local.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 files/etc/ssh/sshd_config.d/local.conf (limited to 'files/etc/ssh') 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 -- cgit v1.2.3