diff --git a/templates/ssh_sshd_config.j2 b/templates/ssh_sshd_config.j2 index bcf1654..da5f97b 100644 --- a/templates/ssh_sshd_config.j2 +++ b/templates/ssh_sshd_config.j2 @@ -59,5 +59,7 @@ MaxAuthTries 10 {% for i in sshuser %} Match User {{ i }} - AuthorizedKeysFile {{ sshuser[i].AuthorizedKeysFile }} + {% for j in sshuser[i]|d({}) %} + {{ j }} {{ sshuser[i][j] }} + {% endfor %} {% endfor %}