Skip to content

Commit 4324548

Browse files
Merge pull request #184 from joubbi/master
Legacy Protocol statement is removed from version 7.6 and above
2 parents ebdf3e0 + 9254635 commit 4324548

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controls/sshd_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
impact 1.0
152152
title 'Server: Specify protocol version 2'
153153
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."
154+
only_if { ssh_crypto.ssh_version < 7.6 }
154155
describe sshd_config(sshd_custom_path + '/sshd_config') do
155156
its('Protocol') { should eq('2') }
156157
end

0 commit comments

Comments
 (0)