Mac Remote Access Cheatsheet

Mac mini Remote Access — Cheatsheet

Quick reference for daily use. Full details in .claude-shared\memory\reference_mac_remote_access.md.


Connect to the Mac

From Command / Steps
Windows laptop ssh mac (Access PIN to email on first use per 24 h)
iPhone / iPad Open Cloudflare One Agent — confirm Connected. Open Termius → tap mac host.
Any browser, anywhere Go to https://mac.lcchema.cc → login with Mac username + password
Home Wi-Fi only (fast) ssh mac-lan (laptop) — no tunnel, direct LAN

Work in the persistent claude tmux session

# Start the session (only needed once after Mac reboot)
tmux new -s claude -c ~/Claude

# Re-attach from any device
tmux attach -t claude
# or short form:
tmux a

# List what's running
tmux ls

# Stop the session entirely
tmux kill-session -t claude

Inside tmux, the prefix is Ctrl-b. Useful keys (press Ctrl-b first, release, then the second key):

Keys Action
Ctrl-b then d Detach (leave session running, exit back to shell)
Ctrl-b then [ Enter scroll/copy mode (then arrow keys or page up/down). q to exit.
Ctrl-b then ? Show all keybindings
Mouse wheel / two-finger scroll Scrollback (mouse mode is on)

On Termius: tap the Ctrl key in the keybar, then b, then the second key.


Multi-device best practice


Mac must stay reachable


Common quick fixes

Symptom First try
Laptop ssh mac hangs Check CF dashboard → Tunnels → mac-mini is Healthy. If not: on Mac (via ssh mac-lan or in person) sudo launchctl kickstart -k system/com.cloudflare.cloudflared.
Phone Termius times out In Cloudflare One Agent: toggle Disconnect → Connect. Still fails: sign out of Zero Trust and back in (team lcchang).
Access PIN email missing Check spam. Only lcchang224@gmail.com is allowed.
Phone view too narrow on laptop Detach the phone (Ctrl-b d or close Termius).
Lost tmux session contents If you killed the session by mistake, it’s gone. To recover work-in-progress, the tmux session needs to have been detached (not killed).

What lives where (reference)