roles/common: Update sshd_config template to explicitly allow the provisioning user
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
3b6c9745ab
commit
a80cb49957
@ -94,5 +94,5 @@ KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,
|
|||||||
{% if ssh_allowed_users is defined and ssh_allowed_users %}
|
{% if ssh_allowed_users is defined and ssh_allowed_users %}
|
||||||
# Is there a list of allowed users?
|
# Is there a list of allowed users?
|
||||||
# Is it populated? (An empty list is 'None', which evaluates as False in Python)
|
# Is it populated? (An empty list is 'None', which evaluates as False in Python)
|
||||||
AllowUsers {{ ssh_allowed_users }}
|
AllowUsers {{ ssh_allowed_users }} provisioning
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user