Skip to content

Commit

Permalink
use correct kex for RedHat/CentOS/Oracle Linux 8
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schurz <[email protected]>
  • Loading branch information
schurzi committed Jul 15, 2020
1 parent 23bc5fb commit 54bd785
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 54bd785

Please sign in to comment.