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

feat: Allow to set custom list of HostKeyAlgorithms #278

Merged
merged 2 commits into from
May 8, 2020
Merged

feat: Allow to set custom list of HostKeyAlgorithms #278

merged 2 commits into from
May 8, 2020

Conversation

kostasns
Copy link
Contributor

@kostasns kostasns commented May 8, 2020

This MR follows the same concept for Host Key Algorithms as Macs and Kex
Default is an empty list, which can be set as a variable when applying the role.
If custom list is provided - it will be used to set HostKeyAlgorithms in sshd_config

The only difference from Macs and Kex, is that this setting will be honoured only from version 5.8 of SSH daemon, as earlier version do not have this feature.

I can also confirm that it works on Oracle Linux 7. ( currently not tested by Travis )
Solves #243

@rndmh3ro rndmh3ro merged commit 9255b22 into dev-sec:master May 8, 2020
@kostasns kostasns deleted the issue_243 branch May 8, 2020 19:21
@rndmh3ro rndmh3ro added the minor label May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants