JAEN

macOS

systemsetup

CautionSystem settings via CLI

sudo systemsetup -getremotelogin

Toggles SSH, time zone and NTP from the shell — the setup tool for headless Macs.

Examples

  • sudo systemsetup -setremotelogin onEnable remote login

Syntax

sudo systemsetup -getremotelogin / -setremotelogin on / -settimezone tz

Before you run it

Enabling SSH opens a new door.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store