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

  1. Run claude auth login and choose the claude.ai option.
  2. 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.
  3. If you signed in with claude setup-token or CLAUDE_CODE_OAUTH_TOKEN, run claude auth login instead; those tokens can only make model requests.
  4. Run claude remote-control again.

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.