← Back to catalog
OpenAI Codex

OpenAI Codex

v1.1.1

OpenAI's CLI coding agent with full dev environment

Install

$curl -fsSL https://virtua.sh/i/codex-ssh | bash
No server?Virtua.Cloud →

What's included

  • OpenAI Codex 0.144.1 (pinned) -- OpenAI's CLI coding agent
  • Docker, Go, Rust, Node.js 22, Python + uv
  • Playwright with Chromium and Firefox
  • ripgrep, fd, fzf, jq, yq, bat, tmux, htop, btop
  • Hardening: ufw (SSH only), fail2ban, unattended security upgrades, nightly state backups -- validated on Ubuntu, best-effort on RHEL

After install

  • SSH in and switch to the coder user: su - coder
  • Authenticate: codex login (headless: codex login --device-auth)
  • Long-running tasks: supervise with systemd (see MOTD); tmux available for interactive sessions

Supported Operating Systems

Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Rocky 10Alma 9Alma 10

Requirements

RAM
1GB minimum
Disk
10GB minimum

Configuration

VariableDefaultDescription
VIRTUA_USERcoderSystem user for the agent
VIRTUA_PASSrandom 24-charUser password (for su - coder). Auto-generated if not set.

Changelog

v1.1.12026-07-12
  • OpenAI Codex pinned to 0.144.1 (weekly pin-bump loop)
v1.1.02026-07-07
  • OpenAI Codex pinned to 0.142.5 (weekly pin-bump loop, smoke-tested)
  • One-click hardening: ufw default-deny (SSH only), fail2ban, unattended security upgrades (Ubuntu-validated)
  • Nightly backup of ~/.codex state to /var/backups/agent (7-day rotation) and log rotation
  • MOTD documents first-run auth (codex login) and systemd as the supervision path
v1.0.02026-04-02
  • Initial release
  • Full dev environment: Docker, Go, Rust, Node.js, Python
  • Playwright with Chromium and Firefox
  • Developer tools: ripgrep, fd, fzf, jq, bat, tmux, htop