Repository navigation
Description
What version of the Codex App are you using?
Windows package OpenAI.Codex 26.1111.2228.0; bundled runtime 0.169.0-alpha.11.1 (inspected locally).
Subscription / platform
ChatGPT Pro; Windows x64, native PowerShell, local execution through ChatGPT Work. Observed 2026-11-16.
What issue are you seeing?
The UI indicated Full access, but an affected conversation executed commands as CodexSandboxOffline and could not read the Windows user's SSH configuration. The user reports that explicitly selecting Full access again restored SSH in a new conversation, despite Full access already being displayed.
This report distinguishes the affected conversation's diagnostics from the user's successful check in a new conversation; recovery inside the original conversation was not verified.
Observed evidence (identifiers redacted)
Affected conversation:
- whoami -> \codexsandboxoffline
- Reading C:\Users<user>.ssh\config -> Access denied
- ssh-add -l -> Error connecting to agent: No such file or directory
- ssh -o BatchMode=yes -o ConnectTimeout=10 hostname -> Could not resolve hostname
- Effective execution policy: workspace-write, restricted networking, granular approvals with sandbox_approval=false.
- The local config.toml already contained sandbox_mode="danger-full-access" and approval_policy="never".
- Normal PowerShell SSH and an older conversation worked on the same machine.
- Restarting the application / SSH connection did not restore the affected conversation's access.
After the user explicitly selected Full access again, they supplied this successful output from a new conversation:
- whoami -> <normal-user>
- ssh -o BatchMode=yes -o ConnectTimeout=10 hostname ->
No server SSH configuration or key changes were needed for this recovery.
Steps / reproduction limits
- Have a working Windows SSH alias and credentials under the normal Windows user.
- Open a local Work conversation with Full access apparently enabled/displayed.
- Run whoami and the read-only SSH hostname probe above.
- In the affected state, observe the sandbox account and inaccessible SSH configuration.
- Explicitly reselect Full access, even if already shown as selected, and repeat the probe in a new conversation.
This is an observed incident and user-confirmed workaround, not a deterministic minimal reproduction. The initial misleading Full access state included the General settings UI; the exact control clicked for the successful reselection was not independently captured. The evidence does not establish whether the original defect is UI state, permission persistence/propagation, or a session snapshot. A causal app-update regression is not established.
Expected behavior
The UI should distinguish permission availability/defaults from the current conversation's effective permissions. If Full access is shown as active, it should agree with the policy applied to subsequent execution. If an override or pending change prevents this, show its source and when the new selection takes effect. Users should not need to reselect an apparently active mode to make it apply.
Related reports
#56498 (SSH in new versus old chats), #57671 and #55828 (Work remains restricted), #56663 and #32338 (display/runtime permission mismatch). A shared root cause is not confirmed. Please consolidate if appropriate.
No private keys, tokens, server addresses, account identifiers, raw logs, or conversation transcripts are included.
Activity
github-actions commentedon Nov 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Chota-Cabras commentedon Nov 21, 2026
Confirmed deeper Windows socket-level diagnostic (2026-11-21): Within Codex/ChatGPT local execution, an attempted TCP connection to
35.214.207.120:18765returns Windows socketAccessDenied/ WSAEACCES error 10013, before any SSH authentication. Ordinary manually launched PowerShell on the same machine returnsTcpTestSucceeded: Truefor that exact IP/port. The2playersSSH alias still also fails DNS inside Codex. Bypassing DNS with the IP does not bypass the outbound socket restriction. Switching the assistant model to GPT-6.2 did not change the permission. Full access was selected in the conversation composer, andwhoamishowed the regular Windows account. Strong evidence that the Codex execution context is subject to network/socket restrictions despite the displayed Full access setting. Please examine enforcement and permission propagation; changing SSH credentials or server-side SSH settings is not indicated.