id: system_settings_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.
references:
  nist:
    cce:
      macos_27:
        - CCE-XXXXX-X
      macos_26:
        - CCE-95407-3
      macos_15:
        - CCE-94400-9
      macos_14:
        - CCE-92995-0
    800-53r5:
      - IA-2(8)
      - AC-3
      - CM-7
      - CM-7(1)
      - AC-17
    800-171r3:
      - 03.01.02
      - 03.05.04
  disa:
    cmmc:
      - AC.L1-3.1.1
      - CM.L2-3.4.6
      - CM.L2-3.4.7
      - IA.L2-3.5.4
  hhs:
    hicp:
      - 3.L.B
      - 3.L.C
      - 6.L.A
      - ''
platforms:
  macOS:
    '27.0': {}
    '26.0': {}
    '15.0': {}
    enforcement_info:
      check:
        shell: /bin/launchctl print-disabled system | /usr/bin/grep -c '"com.openssh.sshd" => enabled'
        result:
          integer: 1
      fix:
        shell: /bin/launchctl enable system/com.openssh.sshd
tags:
  - 800-53r5_low
  - 800-53r5_moderate
  - 800-53r5_high
  - 800-171
  - cnssi-1253_low
  - cnssi-1253_high
  - cmmc_lvl2
  - cmmc_lvl1
  - cnssi-1253_moderate
  - hicp_lp
