added: support for HostCertificate in sshd conf file
Signed-off-by: Maximilian Praeger <[email protected]>
This commit is contained in:
1 parent
ef31838fa2
commit
6e9247bde3
1 file changed
+6
@@ -38,6 +38,12 @@ ListenAddress {{ address }}
|
|||||||
HostKey {{ key }}
|
HostKey {{ key }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if ssh_host_certificates -%}
|
||||||
|
{% for certificate in ssh_host_certificates -%}
|
||||||
|
HostCertificate {{ certificate }}
|
||||||
|
{% endfor -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
# Host key algorithms that the server offers.
|
# Host key algorithms that the server offers.
|
||||||
{% if sshd_version is version('5.8', '>=') %}
|
{% if sshd_version is version('5.8', '>=') %}
|
||||||
{{ "HostKeyAlgorithms " ~ ssh_host_key_algorithms|join(',') if ssh_host_key_algorithms else "HostKeyAlgorithms"|comment }}
|
{{ "HostKeyAlgorithms " ~ ssh_host_key_algorithms|join(',') if ssh_host_key_algorithms else "HostKeyAlgorithms"|comment }}
|
||||||
|
|||||||
Reference in new issue
Block a user