From 75760559a841b0e6be77e2f3f162571ecfef454e Mon Sep 17 00:00:00 2001 From: Stefan Weber Date: Fri, 31 Mar 2023 15:57:48 +0200 Subject: [PATCH] proper Subsystem sftp default (same for RHEL6/7/8) --- vars/RedHat_9.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/RedHat_9.yml b/vars/RedHat_9.yml index 5f56d7e..50a05a6 100644 --- a/vars/RedHat_9.yml +++ b/vars/RedHat_9.yml @@ -12,7 +12,7 @@ __sshd_config_file: /etc/ssh/sshd_config.d/00-ansible_system_role.conf __sshd_defaults: Include: /etc/ssh/sshd_config.d/*.conf AuthorizedKeysFile: .ssh/authorized_keys - Subsystem: sftp /usr/libexec/sftp-server + Subsystem: "sftp {{ __sshd_sftp_server }}" __sshd_verify_hostkeys_default: - /etc/ssh/ssh_host_rsa_key