Claude Code: You must be logged in to use Remote Control.
`claude remote-control` found no claude.ai login. The exact message, why Claude Code prints it, and the fix.
Updated November 23, 2026 · Checked against Claude Code 2.1.x (2026). The in-session /remote-control command says 'Remote Control requires a claude.ai subscription.' instead., reproduced in EnvHaven 1.9.0
The message
You must be logged in to use Remote Control.
What it means
claude remote-control found no claude.ai login. Remote Control only works with claude.ai subscription sign-in; API keys and the long-lived tokens from claude setup-token can’t start it.
Fix
- Run
claude auth loginand choose the claude.ai option. - If ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN is set, in your shell or the env block of a settings file, remove it; an apiKeyHelper setting has the same effect.
- If you signed in with
claude setup-tokenor CLAUDE_CODE_OAUTH_TOKEN, runclaude auth logininstead; those tokens can only make model requests. - Run
claude remote-controlagain.
In an EnvHaven workspace
Yes, until Claude Code is signed in once. Sign in once from the workspace’s Launch menu (Sign in, or Set key for an API key); the sign-in stays on the workspace, across restarts and on every device.
Where this comes from
This message was produced by Claude Code (Claude Code 2.1.x (2026). The in-session /remote-control command says ‘Remote Control requires a claude.ai subscription.’ instead.) itself, in a throwaway EnvHaven 1.9.0 container, on 2026-11-23; the text above is copied from that output.