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