Skip to content

Commit 4f3651f

Browse files
author
Wojciech Kopras
committed
RHEL6 accepts crypto settings from openssh 5.9
Signed-off-by: Wojciech Kopras <wojciech.kopras@yahoo.com>
1 parent b543c17 commit 4f3651f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ssh_crypto.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
100100
when 'redhat', 'centos', 'oracle'
101101
case inspec.os[:release]
102102
when /^6\./
103-
kex = nil
103+
kex = kex59
104104
when /^7\./
105105
kex = kex66
106106
end
@@ -153,7 +153,7 @@ def valid_macs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
153153
when 'redhat', 'centos', 'oracle'
154154
case inspec.os[:release]
155155
when /^6\./
156-
macs = macs53
156+
macs = macs59
157157
when /^7\./
158158
macs = macs66
159159
end

0 commit comments

Comments
 (0)