From 4ba6ca1a8051a4386902d2f2fa7ac6785b6f3e10 Mon Sep 17 00:00:00 2001 From: Dominik Rimpf Date: Tue, 13 Jun 2023 11:51:08 +0200 Subject: [PATCH] fix: debian 11 defaults --- vars/Debian_10.yml | 2 +- vars/Debian_11.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vars/Debian_10.yml b/vars/Debian_10.yml index 6391ddd..59ff825 100644 --- a/vars/Debian_10.yml +++ b/vars/Debian_10.yml @@ -6,10 +6,10 @@ __sshd_packages: __sshd_config_mode: "0644" __sshd_defaults: ChallengeResponseAuthentication: false + UsePAM: true X11Forwarding: true PrintMotd: false AcceptEnv: LANG LC_* Subsystem: "sftp {{ __sshd_sftp_server }}" - UsePAM: true __sshd_os_supported: true __sshd_runtime_directory: /run/sshd diff --git a/vars/Debian_11.yml b/vars/Debian_11.yml index 6391ddd..f5d3137 100644 --- a/vars/Debian_11.yml +++ b/vars/Debian_11.yml @@ -5,11 +5,12 @@ __sshd_packages: - openssh-sftp-server __sshd_config_mode: "0644" __sshd_defaults: + Include: /etc/ssh/sshd_config.d/*.conf ChallengeResponseAuthentication: false + UsePAM: true X11Forwarding: true PrintMotd: false AcceptEnv: LANG LC_* Subsystem: "sftp {{ __sshd_sftp_server }}" - UsePAM: true __sshd_os_supported: true __sshd_runtime_directory: /run/sshd