
TL;DR
A step-by-step guide to configuring an isolated Mac that Claude Code can fully control remotely - from SSH and Dispatch to phone-based control with Remote Control.
A new guide making the rounds on Hacker News explains how to set up a dedicated Mac as an isolated environment that Claude Code can fully control. The setup enables remote access via SSH, the Claude mobile app (Remote Control), or Screen Sharing - essentially creating a sandboxed machine where an AI agent can operate with minimal risk to your primary workstation.
The guide by ykdojo covers 16 steps from fresh setup to Tailscale remote access. Let's break down what it involves and what the HN community thinks about this approach.
The guide targets developers who want Claude Code running on a separate machine they can interact with from anywhere - their main Mac, their phone, or over the network. The key principles:
Isolation first. Create a fresh macOS account with no Apple ID, no personal data, and no cloud sync. If Claude does something unexpected, the blast radius is contained to a throwaway environment.
SSH as the backbone. The target Mac runs SSH with key-based authentication. Your primary machine can connect without passwords, enabling scripts and Claude itself to execute commands remotely.
Passwordless sudo. For Claude to install packages, modify system settings, or run privileged commands, the account gets NOPASSWD sudo access. This is a security tradeoff - documented in the guide - that enables autonomous operation.
Multiple access paths. The setup supports:
The Hacker News discussion has 106 comments and reveals polarized views on AI agent automation.
"What are they doing running agents 24/7?" This was the most upvoted skeptical comment. One user asked: "I still don't understand what these freaks are doing running these agents 24/7 on machines. What are they doing? Managing a todo list?"
Defenders pointed to concrete workflows:
Dispatch vs. direct setup. Several commenters already use Claude Desktop + Dispatch on a Mac Mini. The guide's approach differs in that it uses Claude Code (CLI-based) rather than Claude Desktop, and enables more flexibility in container permissions. One noted: "Dispatch/Cowork won't download and fill out or read PDFs or other files due to container permissions. Vanilla Claude Code has no problem using curl and wget."
The satire detector is broken. One commenter jokingly described using Claude to automate Tinder swiping - scheduling dates automatically and providing chat history summaries. Someone replied "I totally believed this. We live in a dystopia already." Another linked to a real GitHub project attempting exactly that.
Power users vs. skeptics. The thread crystallizes a divide. Power users describe setups where they kick off agent tasks in the morning and review results later. Skeptics question whether the overhead of verification - checking if the agent did a good job - is worth avoiding human involvement in the first place.
Newsletter
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools, delivered free every week.
From the archive
Jul 18, 2026 • 6 min read
Jul 18, 2026 • 6 min read
Jul 18, 2026 • 7 min read
Jul 17, 2026 • 6 min read
For those considering this setup, here are the key technical components:
Step 1-4: Base configuration
Step 5-7: Remote access
caffeinate or Energy Saver settingsStep 8-11: Claude Code
Step 12-16: Extended access
The tmux piece is notable: Claude Code's computer use features (screenshots, input control) work through a tmux session that persists across connections. This enables the Claude mobile app to connect to ongoing sessions.
The honest assessment: this setup is overkill for most developers. But there are legitimate use cases:
Parallel agent workloads. If you're running multiple Claude Code sessions - one exploring a codebase, another writing tests, another handling documentation - having them on a separate machine keeps your primary workstation responsive.
Mobile-first development. Some Claude Code power users have stopped using traditional IDEs entirely. They kick off tasks from their phone while commuting and review results later. A dedicated Mac enables this workflow without exposing personal data.
Burning subscription tokens. Claude Max subscribers have usage caps that reset periodically. Running agents on background tasks ensures you're getting value from the subscription even when not actively coding.
Home automation and personal projects. Several commenters described using this for projects they don't have time to sit at a keyboard for - home automation scripts, content pipelines, personal tools.
The guide explicitly acknowledges the tradeoffs:
The isolation model - fresh account, no personal data, dedicated hardware - is the mitigation. If something goes wrong, you wipe the machine and start over.
For tinkerers and AI enthusiasts - sure, it's a fun setup to explore. The guide is well-documented and the 16 steps are manageable for anyone comfortable with SSH and macOS system preferences.
For production use, the calculus depends on your trust in agent autonomy. The HN thread's most honest take: "If you can't think up enough coding projects to keep an agent busy in the background that's a skill issue on your side."
Whether that's wisdom or cope is left as an exercise for the reader.
Read next
Goal, loop, routine. Three verbs, two tools, one hard part. A complete field guide to running agentic loops in Claude Code and Codex, the real commands, the patterns people actually run, and the two failure modes that burn money.
16 min readA developer discovered that Claude Code's thinking output is summarized, not the raw reasoning. Here's what Anthropic's docs actually say - and why it matters.
5 min readA developer fed 266MB of DICOM MRI data to Claude Code Opus for a second opinion on a shoulder diagnosis. The AI disagreed with the doctor. HN radiologists weighed in.
7 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
A hosted infinite canvas your headless AI agents drive over MCP. Any MCP-speaking agent - Claude Code, Codex, Cursor, or...
View ToolAnthropic's agentic coding CLI. Runs in your terminal, edits files autonomously, spawns sub-agents, and maintains memory...
View ToolInteractive TUI dashboard that shows exactly where your Claude Code and Cursor tokens are going, in real time.
View ToolAnthropic's flagship reasoning model. Best-in-class for coding, long-context analysis, and agentic workflows. 1M token c...
View ToolPick the hooks you want, get a settings.json you can paste in.
View AppSpec out AI agents, run them overnight, wake up to a verified GitHub repo.
View AppEvery coding agent in one window. Stop alt-tabbing between Claude, Codex, and Cursor.
View AppA concrete step-by-step guide to moving your development workflow from Cursor to Claude Code - settings, rules, keybindings, and the habits that transfer.
Getting StartedConfigure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsFull vim keybindings (normal and insert modes) for prompt editing.
Claude Code
Anthropic's Big Claude Code & Cowork Update: Remote Control, Scheduled Tasks, Plugins, Auto Memory + New Simplify/Batch Skills The script recaps a consolidated update on new Anthropic releases across

Claude Code Review: Next-Level AI-Assisted Coding In this video, I share my insights after using Claude Code for 30 days. Discover why I believe Claude Code is one of the best AI coding agents...

Open Design: Open-Source n8n App That Turns Any Website into a Brand Kit, Design System, HTML + Images The video introduces Open Design, an MIT-licensed full-stack template that combines AI and n8n a

A new benchmark shows GLM 5.2 processing 59 transactions and producing VAT returns off by only 7 pence - at $2.73 versus...

How a 60-second auto-continue timer shipped to Claude Code without documentation, what it reveals about agent safety ass...

LM Studio launches Bionic, a standalone agent harness for open models with local inference, voice input, and zero data r...

Open-source tool gives Claude Code, Codex, and other agents their own isolated Linux VM on your machine - network firewa...

New research shows Claude Code's system prompt and tool scaffolding consume 4.7x more tokens than OpenCode before proces...

Security researchers discovered a prompt injection vulnerability in GitHub's Agentic Workflows that allows attackers to...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.