mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
Dont be locked out with debian wheezy
This commit is contained in:
parent
b16efa6ca7
commit
4e65c6ea2a
2 changed files with 8 additions and 4 deletions
|
@ -20,10 +20,14 @@ TCPKeepAlive yes
|
|||
|
||||
# Server authentication
|
||||
Protocol 2
|
||||
{% if ansible_distribution_release == 'wheezy' -%}
|
||||
# HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
{% else %}
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
{% if generate_ecdsa_too %}
|
||||
{%- if generate_ecdsa_too %}
|
||||
HostKey /etc/ssh/ssh_host_ecdsa_key
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
||||
# Not available in openssh 6.7
|
||||
# HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-ed25519
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
playbook_version_number: 1024 # should be over ninethousand
|
||||
playbook_version_number: 1048 # should be over ninethousand
|
||||
playbook_version_path: '/etc/ansible-version/role-sshd_chaos-bodensee_github.com.version'
|
||||
|
|
Loading…
Reference in a new issue