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