Files
a13labs.infra/ansible/roles/cis/templates/etc/ssh/ssh_config.j2
T

14 lines
415 B
Django/Jinja
Raw Normal View History

2024-09-24 15:19:51 +02:00
# {{ ansible_managed }}
{% if ssh_config_d.stat.exists and ssh_config_d.stat.isdir %}
Include /etc/ssh/ssh_config.d/*.conf
{% endif %}
Host *
Ciphers {{ sshd_ciphers }}
GSSAPIAuthentication {{ sshd_gssapi_authentication }}
HashKnownHosts yes
HostKeyAlgorithms {{ sshd_host_key_algorithms }}
KexAlgorithms {{ sshd_kex_algorithms }}
MACs {{ sshd_macs }}
RekeyLimit {{ sshd_rekey_limit }}