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
{{ message }}
Repository navigation
Automatically install and update the CLI for remote connections, similar to VS Code #24441
I’d like to request an improvement for the remote connection experience.
Currently, when using Codex in a remote environment, the CLI needs to be installed or updated manually. This creates friction, especially when switching between machines or working in frequently rebuilt remote environments.
It would be great if Codex could handle this automatically, similar to how VS Code Remote works:
Detect whether the required CLI is installed on the remote machine
Automatically download and install the correct version if missing
Automatically update the CLI when the local/client version requires it
Avoid requiring users to manually run update commands each time
This would make the remote workflow much smoother and reduce setup overhead.
this issue is nothing relevant to the action bot mentioned above and nothing duplicated... This is also an headache for me because I have quite a lot of remote machines via SSH but every time after the desktop app upgrades I need to upgrade CLI each of them.
Concrete reproduction from September 23, 2026, for SSH-connected remote projects:
Codex Desktop on Windows could use gpt-6-sol locally with the same ChatGPT account.
The SSH-connected Linux host was running the standalone Codex CLI and app-server at 0.154.0. Selecting gpt-6-sol for an existing remote task failed before inference with HTTP 400: The 'gpt-6-sol' model is not supported when using Codex with a ChatGPT account. This suggested an account entitlement problem, although the account was not the cause.
Running the standalone CLI's codex update upgraded it to 0.156.1. A direct, ephemeral, read-only codex exec -m gpt-6-sol on that host then returned OK using the existing login.
The Desktop remote task still received the same 400 while its already-running app-server remained at 0.154.0. After a graceful restart, the app-server reported 0.156.1, and the same remote model request completed without error.
Please have the SSH connection check the running app-server version when a newly available model is selected. Ideally, offer a safe update/restart of the remote standalone helper. At minimum, show the selected binary path, CLI version, app-server version, and an actionable version-mismatch message instead of the misleading ChatGPT-account error. Users should not have to diagnose and manually update/restart the remote host each time a model rollout requires a newer Codex runtime.
Please improve the SSH remote development experience in the Codex desktop app by adopting a seamless setup process similar to Cursor.
Users should only need to provide their SSH connection details. Codex should automatically detect the remote environment, install the required components, and manage version updates.
Please also support SSH password authentication in addition to private keys.
Manually configuring SSH keys, installing Node.js and Codex CLI, and troubleshooting dependencies creates unnecessary friction for developers.
Remote development should be simple, secure, and automated.
Activity
github-actions commentedon May 25, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
kaiwu-astro commentedon Jun 19, 2026
this issue is nothing relevant to the action bot mentioned above and nothing duplicated... This is also an headache for me because I have quite a lot of remote machines via SSH but every time after the desktop app upgrades I need to upgrade CLI each of them.
5mghost commentedon Sep 23, 2026
Concrete reproduction from September 23, 2026, for SSH-connected remote projects:
gpt-6-sollocally with the same ChatGPT account.0.154.0. Selectinggpt-6-solfor an existing remote task failed before inference with HTTP 400:The 'gpt-6-sol' model is not supported when using Codex with a ChatGPT account.This suggested an account entitlement problem, although the account was not the cause.codex updateupgraded it to0.156.1. A direct, ephemeral, read-onlycodex exec -m gpt-6-solon that host then returnedOKusing the existing login.0.154.0. After a graceful restart, the app-server reported0.156.1, and the same remote model request completed without error.Please have the SSH connection check the running app-server version when a newly available model is selected. Ideally, offer a safe update/restart of the remote standalone helper. At minimum, show the selected binary path, CLI version, app-server version, and an actionable version-mismatch message instead of the misleading ChatGPT-account error. Users should not have to diagnose and manually update/restart the remote host each time a model rollout requires a newer Codex runtime.
Related stale-helper report: #41759.
loee300-lab commentedon Nov 24, 2026
Dear Codex Team,
Please improve the SSH remote development experience in the Codex desktop app by adopting a seamless setup process similar to Cursor.
Users should only need to provide their SSH connection details. Codex should automatically detect the remote environment, install the required components, and manage version updates.
Please also support SSH password authentication in addition to private keys.
Manually configuring SSH keys, installing Node.js and Codex CLI, and troubleshooting dependencies creates unnecessary friction for developers.
Remote development should be simple, secure, and automated.