Skip to content

Commit 0d102f9

Browse files
Merge pull request #175 from schurzi/centos8
use correct kex for RedHat/CentOS/Oracle Linux 8
2 parents 23bc5fb + 54bd785 commit 0d102f9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libraries/ssh_crypto.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize,
9696
case inspec.os[:release]
9797
when /^6\./
9898
kex = nil
99-
when /^7\./, /^8\./
99+
when /^7\./
100100
kex = kex66
101+
when /^8\./
102+
kex = kex80
101103
end
102104
# https://pkgs.alpinelinux.org/packages?name=openssh
103105
when 'arch'

0 commit comments

Comments
 (0)