2020-07-10 00:58:55 +02:00
|
|
|
---
|
2020-10-10 14:14:08 +02:00
|
|
|
ssh-ssh-config:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/ssh/ssh_config
|
2023-03-10 00:08:08 +01:00
|
|
|
- source: salt://ssh/templates/ssh_config.j2
|
2020-10-10 14:14:08 +02:00
|
|
|
- template: jinja
|
|
|
|
- user: root
|
|
|
|
- mode: 0644
|
|
|
|
|
2020-07-10 00:58:55 +02:00
|
|
|
ssh-sshd-config:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/ssh/sshd_config
|
2023-03-10 00:08:08 +01:00
|
|
|
- source: salt://ssh/templates/sshd_config.j2
|
2020-07-10 00:58:55 +02:00
|
|
|
- template: jinja
|
|
|
|
- user: root
|
|
|
|
- mode: 0644
|
|
|
|
- watch_in:
|
2020-10-10 14:14:08 +02:00
|
|
|
- service: ssh-sshd-service
|