paulbsd-salt/states/ssh/templates/sshd_config.j2

14 lines
403 B
Plaintext
Raw Normal View History

2023-03-10 00:08:08 +01:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ssh/map.jinja" import ssh with context %}
{%- for key, value in ssh.sshd_config.items() %}
{{ key }} {{ value }}
{%- endfor %}
Match Address {{ salt['pillar.get']('net:ip_networks')|join(',') }}
PasswordAuthentication yes
Match Address {{ salt['pillar.get']('net:ip_networks')|join(',') }}
PasswordAuthentication yes