feat: enhance sshd fallback over missing $HOME

This commit is contained in:
Clément Désiles
2025-08-26 01:02:53 +02:00
parent 117978fe52
commit e1a1518cb8
5 changed files with 37 additions and 17 deletions
+6
View File
@@ -62,3 +62,9 @@ Compression no
{% if ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian' %}
UsePrivilegeSeparation sandbox
{% endif %}
{% if ssh_authorized_keys_fallback_enabled %}
AuthorizedKeysFile .ssh/authorized_keys /etc/ssh/authorized_keys/%u
{% else %}
AuthorizedKeysFile .ssh/authorized_keys
{% endif %}