Compare commits

...
Author SHA1 Message Date
Martin Schurz 5c4803e9a4 Accept strings and lists for ssh_allow_users
Signed-off-by: Martin Schurz <[email protected]>
2025-02-09 12:12:12 +01:00
@@ -171,7 +171,7 @@ DenyUsers {{ ssh_deny_users }}
{% endif %}
{% if ssh_allow_users %}
AllowUsers {{ ssh_allow_users }}
AllowUsers {{ ssh_allow_users if (ssh_allow_users is string) else (ssh_allow_users|join(' ')) }}
{% endif %}
{% if ssh_deny_groups %}