[BUG] Remote control not enabled when authenticating with CLAUDE_CODE_OAUTH_TOKEN
Resolved 💬 3 comments Opened Mar 17, 2026 by ryandens Closed Apr 14, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When i run cluade --remote-control in a github codepsace with the CLAUDE_CODE_OAUTH_TOKEN environment set, i get the following warning
@ryandens ➜ /workspaces/foo (main) $ claude --remote-control
Remote Control is not enabled for your account; --rc flag ignored.
▐▛███▜▌ Claude Code v2.1.77
▝▜█████▛▘ Sonnet 4.6 · Claude API
──────────────────────────────────
However, on my laptop, the same version works fine
both are connected to my Claude Team account, but as reported by many other poeple the /status command does not work properly with CLAUDE_CODE_OAUTH_TOKEN
What Should Happen?
I should be able to start claude with remote control on my Claude team account
Error Messages/Logs
@ryandens ➜ /workspaces/foo (main) $ claude --remote-control
Remote Control is not enabled for your account; --rc flag ignored.
Steps to Reproduce
- set
CLAUDE_CODE_OAUTH_TOKEN - Run
claude --remote-control
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.77
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Warp
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗