Skip to content

Commit

Permalink
T6013: nits fix j2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
takehaya committed Dec 28, 2024
1 parent 55e9ed6 commit 0ae9aad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/templates/ssh/sshd_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ RekeyLimit {{ rekey.data }}M {{ rekey.time + 'M' if rekey.time is vyos_defined }

{% if trusted_user_ca_key is vyos_defined %}
TrustedUserCAKeys /etc/ssh/trusted_user_ca_key
{% endif %}

{% if trusted_user_ca_key.bind-user is vyos_defined %}
AuthorizedPrincipalsFile /etc/ssh/authorized_principals/%u
{% else %}
{% elif trusted_user_ca_key is vyos_defined %}
AuthorizedPrincipalsFile none
{% endif %}
{% endif %}

0 comments on commit 0ae9aad

Please sign in to comment.