We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae9aad commit 4b14d9dCopy full SHA for 4b14d9d
data/templates/ssh/sshd_config.j2
@@ -115,7 +115,7 @@ RekeyLimit {{ rekey.data }}M {{ rekey.time + 'M' if rekey.time is vyos_defined }
115
TrustedUserCAKeys /etc/ssh/trusted_user_ca_key
116
{% endif %}
117
118
-{% if trusted_user_ca_key.bind-user is vyos_defined %}
+{% if trusted_user_ca_key is vyos_defined and trusted_user_ca_key.bind_user is vyos_defined %}
119
AuthorizedPrincipalsFile /etc/ssh/authorized_principals/%u
120
{% elif trusted_user_ca_key is vyos_defined %}
121
AuthorizedPrincipalsFile none
0 commit comments