mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-01 14:25:49 +02:00
Update to 2023-05-03 11:00
This commit is contained in:
@@ -14,9 +14,10 @@ UseDNS {{ sshd_use_dns | ternary('yes', 'no') }}
|
||||
|
||||
{% if sshd_authorized_keys_command is defined %}
|
||||
AuthorizedKeysCommand {{ sshd_authorized_keys_command }}
|
||||
{% if sshd_authorized_keys_command_user is defined %}
|
||||
AuthorizedKeysCommandUser {{ sshd_authorized_keys_command_user }}
|
||||
{% endif %}
|
||||
AuthorizedKeysCommandUser {{ sshd_authorized_keys_command_user | default('nobody') }}
|
||||
{% elif ad_auth | default(False) == True and ad_ldap_user_ssh_public_key is defined %}
|
||||
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
|
||||
AuthorizedKeysCommandUser nobody
|
||||
{% endif %}
|
||||
|
||||
HostKey /etc/ssh/ssh_host_rsa_key
|
||||
|
Reference in New Issue
Block a user