Codex Remote Control: Phone, SSH and CLI Guide

Nov 30, 2026Super-Agent Team

Codex remote control lets you steer Codex on your Mac or PC from the ChatGPT phone app. Setup, SSH hosts, the experimental CLI route, fixes and alternatives.

Codex Remote Control: Phone, SSH and CLI Guide

Codex remote control lets you steer Codex running on your own Mac or Windows PC from the ChatGPT mobile app or, where available, from another computer. You pair your phone with the ChatGPT desktop app on that computer, then start chats, answer questions, approve commands and review diffs while the work keeps running there. According to OpenAI's remote connections guide, the connected host provides the files, shell, credentials and tools Codex uses.

Written by the Super Agent team. We build one of the alternatives below, and Super Agent is built on the Super-Agent design DeepSeek published, so we have a stake in the topic. We are not affiliated with OpenAI; Codex facts come from OpenAI's docs and release notes and the openai/codex issue tracker, checked November 30, 2026.

Key Takeaways

  • Codex remote control pairs the ChatGPT phone app with a Mac or Windows PC running the ChatGPT desktop app, where Codex keeps running.

  • Set it up in the desktop app's Connections settings with Control this Mac or PC, then scan the QR code with your phone.

  • The host has to stay awake, online and running the app. If it sleeps, remote access stops.

  • The Codex CLI has experimental codex remote-control commands, but the supported phone setup starts in the desktop app.

Using Claude Code instead? Our Claude Code Remote Control setup and fixes guide covers Anthropic's version of this feature.

What is Codex remote control?

Codex remote control is OpenAI's built-in way to reach Codex work on another machine. OpenAI's docs call the feature remote connections, the setting you turn on is Remote Control, and the release notes call it Codex Remote. Shell commands run on the host, MCP servers and skills come from its configuration, and its sandboxing settings and approvals still apply. You can also review test results and screenshots, get notified when a task needs you, and switch between hosts.

OpenAI announced it on May 14, 2026 as a preview for Mac hosts, and said it uses a secure relay layer that keeps trusted machines reachable "without exposing them directly to the public internet." The ChatGPT release notes for June 25, 2026 say Codex Remote "is now generally available on all ChatGPT plans," with Mac or Windows hosts.

It is separate from Codex Cloud, which runs tasks on OpenAI-managed computers, as OpenAI's help article on ChatGPT Work and Codex explains.

What you need before you start

You need the same ChatGPT account and workspace on both devices. OpenAI's requirements are:

  • Codex access in the ChatGPT account and workspace you want to use.
  • The latest ChatGPT mobile app on iOS or Android.
  • The latest ChatGPT desktop app on a macOS or Windows host. Codex is a separate view inside that app.
  • Any MFA, SSO or passkey your account requires. In a workspace, your admin may need to turn on Remote Control access first.
  • A ChatGPT sign-in, not an API key. OpenAI's pricing page lists mobile remote control as unavailable with an API key.

How to set up Codex remote control from your phone

OpenAI's setup steps start on the computer, not the phone:

  1. Start on the host. In the ChatGPT desktop app, go to Settings > Connections > Control this Mac or PC and select Set up or Add. Approve remote access and complete any verification.
  2. Scan the QR code with your phone. It opens ChatGPT to finish connecting.
  3. Finish in ChatGPT. Confirm the same account and workspace and complete any MFA, SSO or passkey step. The host then appears in the mobile app: on iOS under Codex, or under Remote if your app still shows that label.

Each QR code pairs one phone with one host, so pair every phone with every computer you want to control.

Work on a remote devbox over SSH

If your code lives on a remote machine, add it to your SSH config (~/.ssh/config), install and sign in to Codex there (with codex on its PATH), then enable the host under Settings > Connections and pick a project folder. Your phone still connects to the desktop host, and Codex works in the remote environment. Handoff moves a chat and its Git state into a worktree on the connected host. Unlike phone access, SSH remote connections are listed as available with an API key on OpenAI's pricing page.

Codex CLI remote control: what works today

The supported way to reach Codex from your phone starts in the ChatGPT desktop app. OpenAI's remote connections guide says mobile setup "starts from the app; you can't set it up from the Codex CLI or IDE extension." Neither that guide nor the command reference says whether a session you start with codex in a terminal shows up on your phone.

The Codex command reference lists a codex remote-control command, marked Experimental:

codex remote-control start   # start the local app-server daemon with remote control enabled
codex remote-control pair    # print a short-lived manual pairing code
codex remote-control stop    # stop the daemon

OpenAI's remote connections guide says not to expose app-server transports directly on a shared or public network; to reach a machine outside your network, use a VPN or mesh networking tool.

The reference says managed remote-control clients and SSH remote workflows use these commands. It doesn't describe them as a way to pair your phone with a terminal session. Open GitHub issues report pairing failures with Linux and Windows CLI hosts, so test before you depend on them.

To hand work off instead, codex cloud (also Experimental) submits Codex cloud tasks from the terminal, and codex apply pulls a task's latest diff into your working tree.

Codex remote control limits: keep the host awake

If the host sleeps, loses network access or closes the app, remote access stops until it's back. OpenAI's host guidance:

  • Mac laptop: stays available with the lid open and power connected. With the lid closed, also connect an external display. Choosing Sleep still stops it.
  • Windows PC: keep the session unlocked for tasks that use Computer Use, which runs in the foreground.
  • Always-on computer: a dedicated Mac or Windows PC with your projects and tools installed stays reachable for longer work.

The host's Settings > Connections page also has a keep-awake option.

Codex remote control not working? Quick fixes

From OpenAI's troubleshooting section:

  • Host missing on your phone: make sure the desktop app is running, Allow other devices to connect is on, and both devices share an account and workspace. If you haven't used the connection since June 8, 2026, update both apps and pair again.
  • Remote Control off after signing back in: signing out turns it off but keeps your pairings, so turn it back on. If Add shows an error, restart the desktop app.
  • No approval request: confirm the account and workspace match, then rescan the QR code or restart setup from the host.
  • Authentication blocks setup: finish the SSO, MFA or passkey flow. In a workspace, ask your admin to confirm Remote Control access is enabled.

Codex remote control alternatives

Other setups cover work that shouldn't depend on your computer, API-key logins, and several agents across several machines.

Codex Cloud

Codex Cloud runs each task in its own cloud workspace, which keeps working while your computer is asleep, and you can continue tasks from the web, mobile or desktop app. It doesn't use your machine, though: tasks start from a cloud environment, optionally with repositories from your connected GitHub or GitLab account.

SSH plus tmux

Run Codex inside tmux, SSH in from another computer or a phone terminal app, and reattach with tmux attach. It works with any login the Codex CLI supports, API keys included. The tmux documentation describes this use: programs keep running after you detach and can be reattached "to the same or another terminal." Reviewing diffs on a phone screen is clumsy, though.

Happy

Happy is an open-source (MIT) app whose CLI wraps Codex in your terminal and lets you continue from your phone: npm install -g happy, then happy codex. It reuses the subscriptions you already pay for, and what moves between your devices is encrypted.

Super Agent (ours)

Super Agent runs several coding agents across several computers, following the super agent pattern. Install the desktop app (macOS or Windows) on each computer, sign in, and create bots for Codex, Claude Code or Grok, each with its own computer and project folder. Bots use the agents already signed in there, with your own subscription or API key, and you approve edits from any browser or phone. The free plan covers this; Pro ($14.90/month) adds the Super Agent assistant, which hands requests to the right bot.

For a wider view, our guide to OpenClaw alternatives for developers who run coding agents compares more tools that keep Codex as the worker.

Comparison at a glance

Codex remote controlCodex CloudSSH + tmuxHappySuper Agent
Where Codex runsYour Mac or Windows PC, or its SSH hostOpenAI-managed computersYour machineYour machineYour computers
Computer must stay onYes, awake with the app openNoYesYesYes
LoginChatGPT account, not an API keyChatGPT plan, not an API keyAny login the CLI supportsYour existing subscriptionsYour subscription or API key
AgentsCodexCodexAny terminal toolCodex, Claude Code, Grok and moreCodex, Claude Code, Grok
Reach it fromChatGPT mobile app, or another desktop where availableChatGPT web, desktop, mobileSSH clientHappy mobile, web and desktop appsAny browser or phone
SetupDesktop app, then QR pairingStart from a cloud environmentManualnpm install -g happyInstall the desktop app, then sign in

Frequently Asked Questions

Can I control the Codex CLI from my phone?

Not through a supported path. OpenAI's mobile setup starts in the ChatGPT desktop app, and the codex remote-control commands are experimental and not documented as a way to pair a phone with a terminal session.

Can I control one computer from another instead of a phone?

Yes, where available: on a Mac or Windows PC, add the other host under Settings > Connections > Control other devices.

Is Codex remote control free?

Yes. OpenAI doesn't list a separate price. The June 25, 2026 release notes say Codex Remote is generally available on all ChatGPT plans, and OpenAI's May 14 announcement said the preview covered Free and Go too. The work Codex does still counts toward your plan's usage allowance.

Conclusion

Codex remote control is the built-in way to keep Codex work moving from your phone: pair it from the ChatGPT desktop app's Connections settings and Codex keeps running on your computer. If you run Codex alongside other agents on several computers, try Super Agent free and install the desktop app on your first computer.