Claude Code Remote Control: setup, limits, and keeping sessions running
Claude Code Remote Control lets you steer a Claude Code session from your phone or browser while execution stays on the host machine. Start it with claude remote-control in your project, then connect through the Claude app or claude.ai/code. Closing a laptop that hosts the session interrupts the work; Remote Control does not move it to the cloud.
For work that should continue with your laptop closed, use Lizard (lizard.build) to create a separate host with lizard sandbox create -t claude -s small --timeout 600000. Our test found that a fresh sandbox could not start Remote Control without a claude.ai login. A Claude background task submitted through Lizard did complete after submission returned. The background task uses Lizard's agent service and does not appear in the Claude app as a Remote Control session.
What is Claude Code Remote Control?
Remote Control adds another interface to the Claude Code process on your development machine. It suits a task that needs the checkout and tools already installed there. A phone can send the next instruction without becoming the computer that runs your tests.
Think about where a file will appear before choosing a workflow. If Claude runs on your laptop, an instruction to create a file affects that laptop. If Claude runs in a cloud sandbox, the file appears there. You must retrieve or commit that work before removing the sandbox.
A useful first task is deliberately small: ask Claude to create a marker file in your project, then check it on the host. That way you find out early if you opened the wrong session, before a refactor is half done.
Which plans and Claude Code versions support it?
Anthropic's Remote Control requirements, checked November 9, 2026, list Pro, Max, Ultra, Team, and Enterprise. Team and Enterprise need an Owner to enable the feature. API keys do not qualify. Use a claude.ai login; a token generated by claude setup-token cannot establish Remote Control sessions.
Update before following older launch tutorials:
claude --version
claude update
claude auth loginAnthropic documents installation and updates in its setup guide. The current requirements are more useful than a launch-era version floor because individual capabilities have changed. For example, the Remote Control docs require v2.1.283 or later when using DISABLE_TELEMETRY or DO_NOT_TRACK, subject to organization policy. Our sandbox had Claude Code 2.1.286; that version number did not replace the missing login.
Check the account and organization you intend to use. Paying for model access through an API account does not establish a Claude subscription session. Anthropic's authentication guide explains the sign-in options.
How do you start a Remote Control session?
Open a terminal in the repository you want Claude to edit. Anthropic's CLI reference distinguishes the standalone server command from the flag that starts an interactive session.
For a terminal dedicated to remote connections:
claude remote-controlTo keep typing in the terminal while making the conversation available remotely:
claude --remote-controlInside an existing Claude Code conversation, enter:
/remote-controlComplete any workspace-trust and Remote Control confirmation prompts before leaving the computer. Open the resulting session link on your second device. These are documented setup instructions; our sandbox test stopped at authentication and did not produce a working Remote Control link.
Before assigning a large task, check that the remote interface shows the conversation you intended. Ask it to inspect one known file and report its name. If the result is wrong, resolve the working directory or account mismatch before allowing edits.
How do you connect from your phone or claude.ai/code?
Use the Claude app for iOS or Android, or open the displayed session URL in a browser. Anthropic's mobile guide, checked November 9, 2026, describes the Claude app as a client for Claude Code sessions, reached through its Code tab. Code runs on the host, not on the phone. Sign in with the same claude.ai account and organization as the host.
In server mode, press the spacebar in the terminal to display the QR code. Alternatively, find the session in the Code tab. Name sessions with --name "My Project" so you can tell them apart in the list.
Once connected, send a short instruction and confirm that the host receives it. Keep the phone available for questions during work that needs decisions. Mobile access is useful for reviewing progress, but a long terminal log or a large diff may still be easier to inspect on a computer.
If the Code tab or session is missing, first check the account, organization, and host process. Repeatedly opening new conversations can make the problem harder to diagnose because each new conversation adds another possible destination.
What are the limits of Remote Control?
The host must remain awake, online, and running Claude Code. Anthropic's limitations, checked November 9, 2026, distinguish one remote session per interactive process from server mode, whose default capacity is 32. Server mode exits after roughly 10 minutes of network outage; interactive sessions keep retrying.
Plan for permission questions as well as runtime. A task that needs an answer can wait even when the machine is healthy. Before stepping away, tell Claude what it may change and what decision should make it stop. For example, a documentation task can specify the allowed directory and ask for a report before dependency changes.
Connection recovery also differs from uninterrupted execution. A session that reconnects after sleep has still spent that interval on a sleeping machine. If a deadline depends on continuous work, choose a host that will stay available.
Do not rely on session history as your only copy of results. Inspect changed files and save work through your normal repository workflow. Our headless Claude Code guide covers tasks that do not need an interactive conversation.
How does Remote Control compare with Claude Code on the web and SSH with tmux?
Choose based on where the required files and tools live. Remote Control fits an existing local setup. Anthropic's cloud sessions move execution to cloud infrastructure. SSH with tmux gives you a terminal on a host you manage.
| Workflow | Where execution happens | Laptop can close? | Main trade-off |
|---|---|---|---|
| Remote Control on a laptop | That laptop | Work pauses if it sleeps | Keeps the local setup, needs the host available |
| Claude Code on the web | Cloud infrastructure | Yes | Configure access and dependencies in the cloud |
| SSH with tmux on a remote host | The remote host | Yes, while that host runs | You manage the host and terminal access |
| Lizard background prompt | A Lizard sandbox | Submission client can disconnect | Separate from the Claude app's Remote Control interface |
The Anthropic behavior in this comparison was checked against its documentation on November 9, 2026. The Lizard row reflects the test below. We did not test a phone connection or an SSH/tmux deployment.
Anthropic's limitations section suggests starting claude inside tmux or screen on a remote machine, so the session survives an SSH disconnect. tmux keeps the terminal alive. The host itself still has to stay powered on and online. For a cloud workflow, also budget time to install dependencies and move results back to your repository; those steps remain your responsibility regardless of the remote interface.
How do you keep a session running when your laptop is closed?
Run the task on another host. We tested a Small Lizard sandbox twice on November 9, 2026, using Lizard CLI 4.0.109, and got the same results both times. Start with a short lifetime while checking your setup:
lizard sandbox create -t claude -s small --timeout 600000 --jsonThe command returned a running sandbox with 2 vCPU, 4 GB RAM, and an expiration 10 minutes after creation. Replace SANDBOX_ID below with the returned ID.
We then ran:
lizard sandbox exec SANDBOX_ID -- claude --version
lizard sandbox exec SANDBOX_ID -- claude remote-controlThe version was 2.1.286. The Remote Control attempt exited with code 1 and printed:
Error: You must be logged in to use Remote Control.
Remote Control is only available with claude.ai subscriptions. Run `claude auth login` to sign in with your claude.ai account.claude auth status reported loggedIn: false. We did not install a full claude.ai login in that sandbox or complete phone pairing. We also did not inject a setup token into the raw Remote Control process. Anthropic's full-scope login troubleshooting explicitly says setup tokens cannot establish Remote Control sessions. Adding one to a project is therefore not a verified Remote Control recipe.
What worked instead?
A Claude task submitted through Lizard's agent service continued after the submission command returned. For a normal account, the documented CLI workflow is:
claude setup-token
lizard agents add claude
lizard sandbox prompt SANDBOX_ID --agent claude --no-wait "Run a shell command that waits 20 seconds, then writes REMOTE_BACKGROUND_OK to /workspace/remote-background-test.txt. Report the file contents. Do not modify other files."Run credential setup on your own computer and paste the token into the masked prompt. The Claude Code setup guide explains the project connection. The project uses this credential to run background tasks. Remote Control requires its own eligible login inside the sandbox.
Our scoped test key cannot use the CLI's agent-credential commands. We tested the agent task through Lizard's service API using the project's existing Claude sign-in, and checked the CLI flags with --help. We did not run the credential-add commands above.
The submission returned running. In the event log, the agent's shell command started about 3 seconds later, the 20-second wait and the file write finished about 20 seconds after that, and the task reported finished roughly 24 seconds after submission. A separate execution confirmed the file:
lizard sandbox exec SANDBOX_ID -- cat /workspace/remote-background-test.txtREMOTE_BACKGROUND_OKThis verifies completion after the submitting client returned. We did not physically close a laptop or test reconnection through the Claude app. The background task is a separate Lizard conversation.
How long will the sandbox run?
Set --timeout deliberately. The Lizard CLI defaults to 300000 milliseconds, or five minutes; commands do not reset the deadline. After the first payment, even with --timeout 0, which disables the deadline, a VM stops after at most 596 hours. On the Pro trial, each sandbox is deleted 1 hour after it starts; --timeout 0 means 1 hour there, and a timeout longer than 1 hour is refused. For longer work, select a deadline that covers installation, execution, and result retrieval. See platform limits.
Lizard pricing, checked November 9, 2026, lists Small at $0.0162/hour, billed per second while running, including idle time. Pro costs $19/month and includes $19 of usage; usage above that is pay as you go. Claude access is separate. The test did not measure the cost of a production coding workload.
Retrieve your results, then delete the test sandbox:
lizard sandbox rm SANDBOX_ID -yOur deletion returned status: deleted. For broader isolation choices, see Claude Code in a sandbox.
Is it safe to combine Remote Control with --dangerously-skip-permissions?
Do not remove permission checks simply to avoid interruptions on your phone. Anthropic's permission modes documentation explains that bypass mode skips permission prompts. A remote interface does not reduce what the host process can access.
Start with normal approvals. For unattended tasks, restrict the checkout, available credentials, and network access to what the task needs. A disposable machine can limit filesystem damage while still exposing any secrets or external services you let it reach. Review those connections before choosing a permissive mode.
We did not test bypass mode with Remote Control. Check the flags supported by your installed version instead of copying a launch-era workaround. Our dangerously-skip-permissions guide explains the implications of removing approvals.
FAQ
Does Claude Code Remote Control work when my laptop is asleep? Execution on that laptop stops while it sleeps. Use another host or a cloud session if work must continue.
Can I use a token from claude setup-token for Remote Control? Anthropic says these tokens cannot establish Remote Control sessions. Use a full claude.ai login on the host.
Is there a Claude Code Remote Control app? Use the Code tab in the Claude app for iOS or Android, or connect through a browser.
Did Remote Control work in the Lizard test? The fresh sandbox returned a login error. The separate Claude background task completed after submission returned; phone pairing was not tested.
Does tmux prevent laptop sleep? No. It preserves terminal sessions across disconnections while the host remains running.
Build with AI. Ship with Lizard
You don't need a platform team to go live. Your whole cloud, one CLI command away.
- Services
- —
- Add-ons
- —
- Deployments
- —
- Sandbox starts
- —