Allow SSH and Remote Control clients to share the same app-server
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- backend, cli, networking
Research direction
Start with the codex app-server --listen unix:// SSH workflow and the codex remote-control start and codex remote-control pair --json entry points. Trace their app-server lifecycle and management checks, then verify that local Unix-socket and Remote Control clients can share tasks, approvals, configuration, and session history without interrupting active turns.
Written by the indexing model from the issue text.
Description
Summary
An SSH-managed Codex connection and account-based Remote Control should be able to control the same host and share one app-server, but the current lifecycle management makes the two workflows mutually exclusive for one user/CODEX_HOME.
Real-world topology
- A company MacBook Pro can reach a Coder development host over SSH.
- A home MacBook Air cannot reach the private SSH network and must use account-based Remote Control.
- Both Macs need to control the same Coder host, tasks, approvals, configuration, and thread history.
Observed behavior
The Codex App SSH workflow starts:
codex -c features.code_mode_host=true app-server --listen unix://
Attempting to enable Remote Control on the same Coder host with:
codex remote-control start
fails with:
app server is running but is not managed by codex app-server daemon
codex remote-control pair --json then times out. Stopping the SSH-managed app-server would interrupt active tasks, so users are forced to choose one control path.
Expected behavior
A single app-server should support both:
- SSH/local Unix-socket clients
- Secure Remote Control relay clients
Both transports should share tasks, approvals, configuration, and the same session database.
Alternatively, codex remote-control start should safely attach to or upgrade an existing SSH-managed app-server without interrupting active turns.
Why current workarounds are insufficient
- Separate
CODEX_HOMEinstances split task history, authentication, and configuration. - Routing the home Mac through the company Mac requires the company Mac and its desktop App to remain online.
- Replacing Codex App SSH access with Remote Control everywhere removes a useful direct connection path that is available on the corporate network.
- Ordinary SSH can coexist, but that does not provide the Codex App's SSH project workflow.
Environment
- Codex/ChatGPT desktop app:
26.715.21425 - Local bundled CLI:
0.145.0-alpha.18 - Coder CLI:
0.144.5
Feedback reference
Codex feedback thread ID: 019f6e74-ee12-7ef2-85b9-0a887c31663d
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·