ShiftStage

Keep your Mac awake for remote access

Every way of reaching a Mac remotely — SSH, a remote desktop, ShiftStage — hits the same wall: a Mac that is asleep, locked or switched off. A few settings decide whether it is still there when you need it.

Sleep

A sleeping Mac answers nothing. On a Mac that stays plugged in at home or in the office, turn off system sleep and leave the display free to sleep:

sudo pmset -a sleep 0 disksleep 0

To see what is currently holding the Mac awake, or failing to, run pmset -g assertions.

Network wake-ups do not solve this. A sleeping Mac may wake for a few seconds to answer the network and fall asleep again; a connection opened in that moment dies with it. ShiftStage treats such a wake as sleep and declines connections until the Mac is fully awake, so you get a clear answer instead of a session that freezes a second later.

The lid

Close the lid of a MacBook and it goes to sleep — on the charger too, and with work running. Preventing idle sleep does not prevent lid sleep. If a laptop is your remote machine, leave it open on the desk.

The screen lock

A locked Mac is awake but not quite available. For ShiftStage it matters more than for SSH: the agent's device key is only usable while your session is unlocked, so a locked Mac cannot complete a connection. The phone says so — with that reason — rather than timing out.

That is why the agent, by default, keeps the display from sleeping while it runs: the lock counts from the display going off, so no display sleep means no lock. You can switch this off in the agent's settings; on a laptop a lit screen costs battery, and the agent says so next to the switch. If you switch it off, set the screen to lock later, or accept that a locked Mac is unreachable.

Power failures and restarts

Enable "Start up automatically after a power failure" in System Settings, or one outage while you are away leaves the Mac off until you are back. After any restart, the Mac waits at the login window, and until someone logs in nothing can connect — the ShiftStage agent starts at login and runs in your user session. With FileVault, that means typing the password after every reboot: plan updates and restarts for when you are home.

What ShiftStage does on its own

  • Holds the Mac awake while work is running. Open terminal sessions, running AI agent sessions and managed processes keep the system from idle sleep for as long as they live; when the last one ends, the hold is released and the Mac sleeps as usual.
  • Says that the Mac is asleep. Before it sleeps, the agent tells the rendezvous node so. The phone shows the Mac as asleep in its list, and a connection attempt ends with "The Mac is asleep" and the next step — open the lid or press a key, then connect again — instead of a generic timeout.
  • Does not wake it for you. The app cannot wake a sleeping Mac remotely. Keeping it awake is the settings above.

Running agents on a dedicated machine? A Mac mini as your AI agent server covers the rest of that setup.

Set it up once

  1. Install the agent on the Mac. A signed, notarised app from our open Homebrew tap. It shares only the folders you name.
    brew install --cask shiftstage/shiftstage/shiftstage-agent
  2. Install the app on the iPhone from the App Store.
  3. Pair them. Scan the code on the Mac's screen and check that both devices show the same seven symbols. No account. On the free plan the first pairing needs both on the same network.

No VPN and no port forwarding: on the same Wi-Fi the phone talks to the Mac directly; away from home peer to peer, or through a relay that forwards only end-to-end encrypted bytes.

Get it

The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.

More guides: all guides.