Feature: combine remote-control with --dangerously-skip-permissions
Status Fixed / completed
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 15 comments · opened Mar 7, 2026 · closed Aug 17, 2026
Summary
When running Claude Code in a Docker sandbox, I'd like to combine remote-control with --dangerously-skip-permissions so I can monitor and control sandboxed agents from the web or mobile app.
Current behavior
The two features are incompatible:
claude remote-control --dangerously-skip-permissions→Error: Unknown argument: --dangerously-skip-permissionsclaude --dangerously-skip-permissions remote-control→ doesn't start remote control
Expected behavior
A single command that enables both, e.g.:
claude remote-control --dangerously-skip-permissions --name my-sandbox
Use case
Running multiple isolated Claude agents in Docker containers (each with its own git clone and branch). --dangerously-skip-permissions is needed because the containers are sandboxed. remote-control would let me monitor and steer each agent from the web/mobile UI without needing terminal access to the container.
Showing cached comments. Read the full discussion on GitHub ↗
14 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
same issue here
agreed! This feature is highly needed!
docker sandbox exec -it claude-kitchen_sink claude remote-control --permission-mode bypassPermissionsDoesn't seem to apply to the default started session, though, so maybe add
--no-create-session-in-dirIt works for me when I use --remote-control (so start an actual claude code session) and run it in tmux
What works?
On Mon, Mar 23, 2026, 6:40 AM Marius Bosler @.***>
wrote:
@brando90
claude --dangerously-skip-permissions --remote-control --name "always workin"From DX perspective the remote control for me doesn't work well, because I am constantly switching between threads and just confirming prompts for simple tasks.
Has anyone tried workarounds by making a bigger allowlist for tools or so?
I also confirmed it works fine with these two options. We can close this issue now.
Is there any update on this?
I tried out the snippet suggested by @ryparker as follows:
Upon running this, the Claude Code tui opens up and so does a tab in my remote control web interface with the name
MyTry, but the interface session does not work at all. That's traceable to a error appearing in the tui which says:This way works: 'claude remote-control --permission-mode bypassPermissions'.
@andkorsh I tried it in the docker sandbox. It did not work.
Could you please elaborate on "did not work"? Does it not start? Does it start but not skipping permission approvals? Does it even start without the bypass flag (in rc or a regular tui way)? If it starts, does it ask you to authenticate every time you start it?
Based on the error 403 you are getting, I believe your claude cli is not authenticated with your claude subscription. You might have to adjust your sandbox configuration to use persistent filesystem for the claude config folder and then run 'claude' once to authenticate, before running 'claude remote-control'.
Good test would be to run it either on a bare metal or inside a regular docker container, to eliminate problems related to the remote-control and it's bypass permissions flag and pinpoint the problem down to the sandbox environment.
It accepts the switch just fine, i.e. this works:
The problem is that when you then connect to that session from Claude Code desktop app and try to create a new session on that host, there's no "bypass permission" option in the selector in the GUI. It defaults to "Accept Edits" and can only be raised up to "Auto".