You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/devsec_ssh.rb
+9
Original file line number
Diff line number
Diff line change
@@ -203,11 +203,20 @@ def guess_ssh_version
203
203
return6.6ifversion >= 14.04
204
204
when'debian'
205
205
return6.6ifversion >= 8
206
+
return6.0ifversion >= 7
206
207
return5.3ifversion <= 6
207
208
end
208
209
when'rhel'
209
210
return6.6ifversion >= 7
210
211
return5.3ifversion >= 6
212
+
when'fedora'
213
+
return7.3ifversion >= 25
214
+
return7.2ifversion >= 24
215
+
when'suse'
216
+
caseplatform
217
+
when'opensuse'
218
+
return6.6ifversion >= 13.2
219
+
end
211
220
end
212
221
Chef::Log.info("Unknown platform #{node['platform']} with version #{node['platform_version']} and family #{node['platform_family']}. Assuming ssh version #{FALLBACK_SSH_VERSION}")
0 commit comments