From 1d08be491aa16fa55c5b15e76fffa6cbd4268a3e Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Tue, 19 Oct 2021 10:22:00 +0200 Subject: [PATCH] Fixed RedHat crypto policy file --- templates/crypto-policies/opensshserver_redhat.config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/crypto-policies/opensshserver_redhat.config.j2 b/templates/crypto-policies/opensshserver_redhat.config.j2 index a7dbcfd..9ed7e9e 100644 --- a/templates/crypto-policies/opensshserver_redhat.config.j2 +++ b/templates/crypto-policies/opensshserver_redhat.config.j2 @@ -1,2 +1,2 @@ -CRYPTO_POLICY='-o{% for key in ssh_hardening_opts %}{{ key }}={{ ssh_hardening_opts[key]|join(",") }} {% endfor %}' +CRYPTO_POLICY='{% for key in ssh_hardening_opts %}-o{{ key }}={{ ssh_hardening_opts[key]|join(",") }} {% endfor %}'