ssh - add ansible login restrictions
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{% if ssh_ansible_authorized_ips is defined %}
|
||||
{% for ip in ssh_ansible_authorized_ips %}
|
||||
Match Address {{ ip }}
|
||||
AllowUsers ansible
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user