mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-04 01:12:00 +00:00
34 lines
643 B
YAML
34 lines
643 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-85447-1
|
|
cci:
|
|
- N/A
|
|
800-53r5:
|
|
- N/A
|
|
800-53r4:
|
|
- N/A
|
|
srg:
|
|
- N/A
|
|
disa_stig:
|
|
- N/A
|
|
800-171r2:
|
|
- N/A
|
|
macOS:
|
|
- "11.0"
|
|
tags:
|
|
- none
|
|
mobileconfig: false
|
|
mobileconfig_info: |