Skip to content

Commit 711def3

Browse files
committed
Legacy Protocol statement is removed from version 7.6 and above, since the code for SSH-1 is removed from OpenSSH.
Signed-off-by: Farid Joubbi <[email protected]>
1 parent 2691867 commit 711def3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controls/ssh_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
impact 1.0
6868
title 'Client: Specify protocol version 2'
6969
desc "Only SSH protocol version 2 connections should be permitted. Version 1 of the protocol contains security vulnerabilities. Don't use legacy insecure SSHv1 connections anymore."
70+
only_if { ssh_crypto.ssh_version < 7.6 }
7071
describe ssh_config(ssh_custom_path + '/ssh_config') do
7172
its('Protocol') { should eq('2') }
7273
end

0 commit comments

Comments
 (0)