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

Weak kex are controlled by wrong variable ? #174

Closed
gdelafond opened this issue Jul 10, 2018 · 1 comment
Closed

Weak kex are controlled by wrong variable ? #174

gdelafond opened this issue Jul 10, 2018 · 1 comment
Labels

Comments

@gdelafond
Copy link

- 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.

@rndmh3ro rndmh3ro added the bug label Sep 16, 2018
@rndmh3ro
Copy link
Member

Fixed by #153

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants