Claude Remote Control "You Must Be Logged In": Fix (2026)
Claude Code shows this error when claude remote-control can't find a claude.ai login. Run claude auth login, choose the claude.ai option, and try again.
If that doesn't clear it, an API key or token in your environment is probably overriding the login. If you'd rather reach your Mac's terminal from your iPhone directly, Macky does that.
What the error means
The official docs list the message like this:
Error: You must be logged in to use Remote Control.
Remote Control is only available with claude.ai subscriptions.Remote Control only works with a claude.ai login. If you're signed out, or signed in through Console or an API key, the command exits with this error.
Fix 1: Sign in with claude.ai
Run this in your terminal:
claude auth loginPick the claude.ai option when it asks how to sign in. You can also start claude and type /login inside the session. Then run claude remote-control again.
Fix 2: Remove credentials that override your login
Some credentials take precedence over your login. Check your shell first:
env | grep ANTHROPICThen work through this list:
- ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN: remove it from your shell environment and from the
envblock of any Claude Code settings file. Useunset ANTHROPIC_API_KEYfor the current shell. - ANTHROPIC_BASE_URL: a host other than api.anthropic.com blocks Remote Control. Unset the variable.
- A setup-token login: tokens from
claude setup-tokenorCLAUDE_CODE_OAUTH_TOKENonly cover model requests. Runclaude auth loginfor a full login.
Signing in through an enterprise Claude apps gateway also blocks Remote Control.
Check on Claude Code from your iPhone
Macky puts your Mac's terminal on your iPhone, end-to-end encrypted, with no open ports. You can open a terminal on your Mac and run claude there. You read the output and reply from your phone. For other mobile options, see Claude Code on iPhone.

Check your version and plan
Remote Control requires Claude Code v2.1.238 or later. Run claude --version and update if you're behind. On Team and Enterprise plans, an Owner must enable the Remote Control toggle in admin settings.
Similar Remote Control errors
These messages look similar but point to different problems:
| Message | Likely fix |
|---|---|
Remote Control requires a claude.ai subscription. | Signed out. Run claude auth login. |
Remote Control requires claude.ai subscription auth. | An API key or token is in use. Remove it. |
Remote Control requires a full-scope login token | Replace the setup-token login with claude auth login. |
Failed to create remote session. Try running /login and signing in with a claude.ai account (not Console). | Seen with --remote and &. Sign in with a claude.ai account. |
Error: Remote Control is not yet enabled for your account. | See Claude Code Remote Control Not Working?. |
For setup basics and limits, read Claude Code Remote Control.
FAQ
How to remotely connect to Claude Code?
Run claude remote-control in a terminal on the machine where Claude Code runs. You need Claude Code v2.1.238 or later and a claude.ai login. Then open the session from the Claude app on your phone.
How to allow Remote Control on a Mac?
Update Claude Code to v2.1.238 or later and sign in with claude auth login using the claude.ai option. Then run claude remote-control. On Team and Enterprise plans, an Owner must first enable the Remote Control toggle in admin settings.
Does Remote Control work with an API key?
No. API key and Bedrock auth aren't supported. A user who ran claude remote-control with Bedrock credentials got the same login error.
Does a setup-token login work for Remote Control?
Yes. Tokens from claude setup-token and CLAUDE_CODE_OAUTH_TOKEN are limited to model requests and can't start Remote Control sessions. Run claude auth login to get a full login.
Related Guides & Comparisons
Try Macky
Connect to your Mac terminal from your iPhone.