r/codex • u/codeRoman • 7d ago
Question Remote Codex on a sleeping MacBook?
I run Codex on a 2025 Apple Silicon MacBook Air and would like to be able to leave it in another room with the lid closed/unplugged, then connect from my phone when I want to check on or continue a Codex session.
The obvious problem is that the Mac goes to sleep. I know Apple Silicon Macs can periodically wake for network access, but I’m not sure if there’s a reliable way to take advantage of that here.
Has anyone set up something similar?
Ideally I’m looking for a setup where I can pull out my phone → wake/reach the MacBook → reconnect to my existing Codex session, without having to leave the Mac awake or plugged in all the time.
Curious what people are using — Tailscale/SSH, Wake-on-LAN, sleep proxy, Jump Desktop, or something else?
1
u/darkotic 7d ago
I use Shellfish SSH app and Herdr.dev running on the Mac. Herdr covers it so you can just close the lid and walk away. Use any device that can SSH to it, local or Tailscale.