Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Weak kex are controlled by wrong variable ? #174

@gdelafond

Description

@gdelafond

- name: set weak kex according to openssh-version if openssh >= 6.6
set_fact:
ssh_kex: '{{ ssh_kex_66_weak }}'
when: sshd_version.stdout >= '6.6' and ssh_server_weak_hmac and not ssh_kex
- name: set kex according to openssh-version if openssh >= 6.6
set_fact:
ssh_kex: '{{ ssh_kex_66_default }}'
when: sshd_version.stdout >= '6.6' and not ssh_kex
- name: set weak kex according to openssh-version
set_fact:
ssh_kex: '{{ ssh_kex_59_weak }}'
when: sshd_version.stdout >= '5.9' and ssh_server_weak_hmac and not ssh_kex

I think there is a problem here: weak kex should be controlled by ssh_server_weak_kex and not ssh_server_weak_hmac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions