Skip to content

Commit c6fa6bc

Browse files
committed
Only check ssh protocol if openssh < 7.0
OpenSSH made the `Protocol` option obsolete in version 7.0. Even if you try to specify it, it's not going to use the version you set for security reasons: Potentially-incompatible Changes -------------------------------- * Support for the legacy SSH version 1 protocol is disabled by default at compile time. See the release notes for version 7.0 for more details. https://www.openssh.org/releasenotes.html
1 parent 610b532 commit c6fa6bc

File tree

1 file changed

+1
-0
lines changed
  • linux_os/guide/services/ssh/ssh_server/sshd_allow_only_protocol2

1 file changed

+1
-0
lines changed

linux_os/guide/services/ssh/ssh_server/sshd_allow_only_protocol2/rule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ template:
6565
parameter: Protocol
6666
value: "2"
6767
datatype: int
68+
obsolete_since_version: "7.0"

0 commit comments

Comments
 (0)