sshd-default.conf.j2: one HostKey per line

master
Denis Knauf 2024-01-14 22:57:44 +01:00
parent 867d3396bf
commit 5916bd321d
1 changed files with 3 additions and 1 deletions

View File

@ -8,4 +8,6 @@ TCPKeepAlive yes
Ciphers {{sshd_ciphers}}
MACs {{sshd_macs}}
KexAlgorithms {{sshd_kex_algorithms}}
HostKey {%for k in sshd_host_keys%}{{k}}{%endfor%}
{%for k in sshd_host_keys%}
HostKey {{k}}
{%endfor%}