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 %}'