You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,6 +63,7 @@ their existing local default when you omit the flag.
62
63
Supported SSH flags for CLI/app-server examples:
63
64
64
65
-`--cwd <path>`
66
+
-`--danger-full-access`
65
67
-`--ssh-host <host>` or `--ssh-host <user>@<host>`
66
68
-`--ssh-user <user>`
67
69
-`--ssh-port <port>`
@@ -73,6 +75,13 @@ those upstream surfaces do not expose `--skip-git-repo-check`. Point it at a
73
75
trusted directory on the remote host when you want those examples to run over
74
76
`execution_surface: :ssh_exec`.
75
77
78
+
`--danger-full-access` keeps the same transport placement and switches only the
79
+
Codex runtime sandbox mode to `:danger_full_access`. This is the explicit
80
+
example-level escape hatch for remote Linux hosts where sandboxed shell tool
81
+
execution fails before the command runs, for example when the host's userns or
82
+
AppArmor policy blocks the `bwrap` path that the remote Codex CLI is trying to
83
+
use.
84
+
76
85
`--ssh-host` is mutually exclusive with `--ollama`, because `--ollama` is the
77
86
local OSS route and `--ssh-host` is remote subprocess placement.
78
87
@@ -142,6 +151,7 @@ SSH usage for CLI/app-server examples is explicit:
142
151
143
152
```bash
144
153
mix run examples/live_cli_demo.exs -- --ssh-host example.internal "What is the capital of France?"
154
+
mix run examples/live_cli_demo.exs -- --ssh-host example.internal --danger-full-access "Run the shell command ls and then say done."
145
155
mix run examples/live_app_server_basic.exs -- --ssh-host builder@example.internal --ssh-port 2222 --cwd /srv/trusted/repo "Reply with exactly ok and nothing else."
146
156
mix run examples/live_cli_session.exs -- --ssh-host example.internal --cwd /srv/trusted/repo "Summarize this repository in three bullets."
0 commit comments