From 55a7ab766e6e80cf26fbb1c6abaae9a98979a4b6 Mon Sep 17 00:00:00 2001 From: Corbin Bartsch Date: Thu, 15 Sep 2022 10:26:02 -0400 Subject: [PATCH] Fix newlines --- templates/sshd_config.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index 79952a5..b54b391 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -17,13 +17,16 @@ HostKey /etc/ssh/ssh_host_ecdsa_key {% if ssh_kexalgorithms is defined %} KexAlgorithms {% for alg in ssh_kexalgorithms %}{{ alg }}{{ "," if not loop.last }}{% endfor %} {% endif %} + {% if ssh_ciphers is defined %} Ciphers {% for alg in ssh_ciphers %}{{ alg }}{{ "," if not loop.last }}{% endfor %} {% endif %} + {% if ssh_macs is defined %} MACs {% for alg in ssh_macs %}{{ alg }}{{ "," if not loop.last }}{% endfor %} {% endif %} + AllowGroups {{ ssh_allow_groups }} LoginGraceTime {{ ssh_login_grace_time }} PermitRootLogin {{ ssh_permit_root_login }}