Files
macos_security/rules/sysprefs/sysprefs_ssh_enable.yaml
2021-08-30 15:45:05 -04:00

34 lines
642 B
YAML

id: sysprefs_ssh_enable
title: "Enable SSH Server for Remote Access Sessions"
discussion: |
Remote access sessions _MUST_ use encrypted methods to protect unauthorized individuals from gaining access.
check: |
/bin/launchctl print-disabled system | /usr/bin/grep -c '"com.openssh.sshd" => false'
result:
integer: 1
fix: |
[source,bash]
----
/bin/launchctl enable system/com.openssh.sshd
----
references:
cce:
- CCE-91078-6
cci:
- N/A
800-53r5:
- N/A
800-53r4:
- N/A
srg:
- N/A
disa_stig:
- N/A
800-171r2:
- N/A
macOS:
- "12.0"
tags:
- none
mobileconfig: false
mobileconfig_info: