You might ask Codex to run tests on your Windows PC at home and check the results from your phone while you are out. Or you might want to open a repository on a Linux development server from your laptop. In either case, start by finding where the project files and tools live.
Where does the work run?

The computer that reads files and runs commands is the host. When you continue a Codex task from your phone, Codex works with the host’s projects and settings. Your phone sends instructions, handles approvals, and shows results. OpenAI uses a secure relay for device connections, so this setup does not require router port forwarding.
| Goal | Connection | Where work runs |
|---|---|---|
| Continue work on your home PC from a phone | Pair the host using a QR code in ChatGPT | Connected Windows PC or Mac |
| Continue an existing Codex chat from another PC | Control other devices in the desktop app | Connected Windows PC or Mac |
| Open a development server folder and run tests | Desktop app SSH connection | Remote SSH host |
| Work on a repository independently of your PC | Codex Cloud environment | OpenAI-hosted workspace |
Connect to a Windows PC from your phone

Update ChatGPT on the Windows PC and on your phone. Select the same account and workspace on both devices. OpenAI announced general availability for Codex Remote on June 25, 2026. In an organization workspace, an admin may need to enable remote control.
- On the Windows PC that will run the work, open the ChatGPT desktop app and go to
Settings → Connections → Control this PC. SelectSet uporAdd, approve remote access, and complete any requested verification. - Scan the QR code on the PC with your phone. When ChatGPT opens, verify your account and workspace and approve the connection. Pair each additional phone with the host individually.
- Open
CodexorRemotein the mobile app and select your PC and project. Start a task, or open an existing chat to inspect changes and approval requests.
To continue work on your home PC from a laptop, open Settings → Connections → Control other devices in the laptop’s ChatGPT desktop app. You can add a host from a Windows PC or Mac where that option is available. Mobile setup starts in the desktop app on the host.
Open a remote project folder over SSH

SSH lets you log in to a shell on another computer. Suppose your laptop runs the ChatGPT desktop app and a Linux development server holds the repository and build tools. Add the server to let Codex read files and run commands there. For a Windows SSH host, follow Microsoft’s instructions to install and start OpenSSH Server.
Add a concrete host alias to ~/.ssh/config on the computer running the desktop app. The following is an example. Replace the address, username, and key path with your own.
Host devbox
HostName devbox.example.com
User devuser
IdentityFile ~/.ssh/id_ed25519Install the Codex CLI on the remote host and sign in as that user. On a server where launching a browser is impractical, use codex login --device-auth if device code login is enabled for your account or organization.
Run the first line on the computer running the desktop app. Once connected, run the other two in the remote shell to check whether the remote user can invoke codex and is signed in. These example commands were not run against a remote host.
ssh devbox
codex --version
codex login statusIn the desktop app, add or enable the host under Settings → Connections → SSH, then select the remote project folder. The app starts the Codex App Server over SSH using the remote user’s login shell, so codex must be on that shell’s PATH.
What to check when a connection fails
| Symptom | Check first |
|---|---|
| Host appears offline on mobile | PC power, sleep, network, and whether the desktop app is running and signed in |
| New host or connection setting is missing | App version, account and workspace, pairing, and organization remote-control settings |
| SSH itself fails | From the computer running the app, check the address, network path, user, key, and SSH server |
| SSH works but the project will not open | Remote login shell PATH, Codex installation and authentication, and folder permissions |
| Only GUI tasks fail on Windows | Computer Use settings and lock state. The feature uses the active, unlocked Windows desktop |
Start with where the project lives
For work already running on your home PC, pair the devices and open the chat on that PC. If your code and tools live on a development server, open the folder over SSH. Use a hosted Codex Cloud environment for repository work that needs to run independently of your home PC.
References
ChatGPT Learn | Remote connections
ChatGPT Learn | Desktop app changelog
ChatGPT Learn | Install the Codex CLI
ChatGPT Learn | Codex authentication
Microsoft Learn | Get started with OpenSSH Server for Windows
