Skip to content

Commit

Permalink
Merge pull request #175 from schurzi/centos8
Browse files Browse the repository at this point in the history
use correct kex for RedHat/CentOS/Oracle Linux 8
  • Loading branch information
micheelengronne authored Jul 16, 2020
2 parents 23bc5fb + 54bd785 commit 0d102f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/ssh_crypto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize,
case inspec.os[:release]
when /^6\./
kex = nil
when /^7\./, /^8\./
when /^7\./
kex = kex66
when /^8\./
kex = kex80
end
# https://pkgs.alpinelinux.org/packages?name=openssh
when 'arch'
Expand Down

0 comments on commit 0d102f9

Please sign in to comment.