CIS Ubuntu 14.04 LTS - 5.2.2 Ensure SSH Protocol is set to 2

Verify SSH is configured to use Protocol version 2 only

cyberstrikeus Updated

File contents

5.2.2 Ensure SSH Protocol is set to 2 (Scored)

Profile Applicability

  • Level 1 - Server
  • Level 1 - Workstation

Description

SSH supports two different and incompatible protocols: SSH1 and SSH2. SSH1 was the original protocol and was subject to security issues. SSH2 is more advanced and secure.

Rationale

SSH v1 suffers from insecurities that do not affect SSH v2.

Audit Procedure

Run the following command and verify that output matches:

grep "^Protocol" /etc/ssh/sshd_config

Expected Result

Protocol 2

Remediation

Edit the /etc/ssh/sshd_config file to set the parameter as follows:

Protocol 2

Default Value

Protocol 2

References

  • CIS Controls: 3.4 - Use Only Secure Channels For Remote System Administration

Profile

  • Level 1 - Server
  • Level 1 - Workstation

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Operating_Systems/Ubuntu/cis-ubuntu-linux-14-04-lts-benchmark-v2/cis-ubuntu1404-v210-5-2-2 commit fbb564ba2c

Frequently asked questions

npx skillmds@latest add cyberstrikeus/cis-ubuntu-14-04-lts-5-2-2-ensure-ssh-protocol-is-set-to-2