New Manage instances from your editor with the MCP server & Claude Code support →
Codex remote connections over SSH

Connect Codex to a server that never sleeps.

The Codex desktop app can run a project on a remote Linux machine. Add a Hostodo VPS as an SSH connection and your repo, shell, and toolchain stay on an always-on box, not the laptop you close at night.

SSH key auth NVMe storage Full root access Detroit, Las Vegas, Tampa
Built for long-running work Headless Ubuntu server Dedicated IPv4 + /64 IPv6 1 Gbps network port KVM virtualization
What the SSH connection does

A remote project, not a remote desktop.

In the desktop app's Connections screen, the tab bar reads Control this Mac, Control other devices, and SSH. The SSH tab points Codex at a real Linux host. Codex starts its app server on that machine over SSH; the chat then runs against the remote filesystem and shell.

01

Commands run on the VPS

File reads, writes, builds, and test runs happen on the remote host. Your laptop sends prompts and approvals, not the workload.

02

The environment is yours

Install packages, run Docker, pin language versions, and keep MCP servers on the box. It is a normal root-access Linux server, not a locked-down sandbox.

03

SSH is the security boundary

Use a trusted key, a least-privilege account, and no public app-server listener. Codex does not need a desktop session or an open inbound port beyond SSH.

Setup

From new VPS to remote project.

One deploy and one connection. You will need Codex access on your ChatGPT account, and the VPS needs outbound internet so it can install Codex and reach OpenAI.

  • Ubuntu 24.04 LTS is a good default.
  • Use key authentication, not passwords.
  • Keep the codex binary on the login shell's PATH.
01

Create the server

Pick Ubuntu 24.04, a region, and a plan. Add your SSH public key when you deploy, then note the server's IP address.

ssh [email protected]
02

Install and sign in to Codex

Codex must be on the remote user's PATH: the desktop app starts the remote app server through that user's login shell. Enable device-code sign-in in your ChatGPT security settings first.

curl -fsSL https://chatgpt.com/codex/install.sh | sh
codex login --device-auth
03

Add the SSH connection

In the desktop app, open Settings → Connections → SSH → Add SSH connection. Choose Identity to use the private key that matches the server.

  • Display namehostodo-codex
  • Hostname[email protected]
  • SSH port22
  • AuthIdentity → ~/.ssh/id_ed25519
04

Open the remote project

Choose the project folder on the VPS and start a chat. Codex runs commands and edits files on the server, so the work stays there when you move to another machine.

Why a VPS

Your laptop is a window. The server is the workshop.

A dedicated machine gives Codex a stable, isolated place to work, with the disk and network headroom a real repository needs.

What this is good for

Developers who want the project to live somewhere more permanent than a laptop.

  • Always available. The VPS runs in a US datacenter, independent of your lid, battery, or home uplink.
  • Room to build. 20 GB to 448 GB of NVMe and 1 GB to 64 GB of RAM across the ladder.
  • Clean separation. A bad build or a deleted dependency stays on the server, not on your local machine.
  • A stable address. Dedicated IPv4, a /64 IPv6 subnet, and a 1 Gbps port for SSH and package installs.

What it is not

Set expectations before you deploy. The VPS is one part of the Codex workflow.

  • Not a GPU host. Codex inference runs through OpenAI. The VPS supplies CPU, RAM, disk, and network.
  • Not a Codex plan. Bring your own ChatGPT account or workspace with Codex access.
  • Not a remote desktop. There is no GUI requirement; Codex works against the remote filesystem and shell.
  • Not managed. You own root, SSH keys, updates, and your Codex sign-in. Hostodo keeps the server and network running.
Codex-ready VPS plans

Pick the size of the box.

Every plan includes root access, a dedicated IPv4, a /64 IPv6 subnet, and NVMe storage. Annual billing is two months cheaper.

Entry

2 GB RAM

A single repo and light builds.

$3.50/mo

$35/year

vCPU 2 NVMe 32 GB Transfer 4 TB
Get started
Heavy

16 GB RAM

Large builds and parallel agent sessions.

$20/mo

$200/year

vCPU 6 NVMe 192 GB Transfer 8 TB
Get started

Live catalog prices, checked November 18, 2026. Compare every plan →

Questions

Codex SSH, answered plainly.

Does the Codex desktop app support SSH connections?

Yes. In the ChatGPT desktop app, open Settings → Connections → SSH and add a host. Codex starts its app server on that machine over SSH, and remote project chats run commands and edit files on the remote host. OpenAI documents the flow in Remote connections.

What do I enter in the Hostname field?

The field accepts host.com or [email protected]. For a new Hostodo VPS, use root@<your-server-ip> and leave the SSH port at 22 unless you changed it.

Which authentication mode should I choose?

If your server uses an SSH key, choose Identity and select the private key that matches the public key in the server's ~/.ssh/authorized_keys. Keep a passphrase on the key. Do not enable password or unauthenticated SSH on a public server.

Does the VPS need a desktop environment?

No. Codex runs against the remote filesystem and shell, so a headless Ubuntu server is enough. The Codex CLI must be installed and available on the remote user's PATH, because the desktop app starts the remote app server through that user's login shell.

Do I need a GPU on the VPS?

No. Codex inference runs through your OpenAI account. The VPS supplies the CPU, RAM, NVMe storage, and network that the workspace and its builds need.

Is Hostodo a Codex provider?

No. Hostodo provides the Linux server. Codex and ChatGPT are OpenAI products, and you sign in with your own account or workspace. Hostodo does not sell or manage Codex access.

Ready when you are

Your next Codex session can outlive your laptop.

Deploy a Hostodo VPS, add it in the Codex desktop app, and keep the project on a machine that stays put.

Codex and ChatGPT are OpenAI products. Hostodo is an independent hosting provider.