hetzner-codex-remote
Installation
SKILL.md
Hetzner Codex Remote
Overview
Set up a Hetzner Cloud server so Codex can use it as a remote SSH connection. Keep the setup secure by default: key-only SSH, no root SSH, a dedicated codex user, firewall allowlisting where practical, optional Tailscale-only SSH for roaming clients, and a verified codex CLI in PATH.
Do not copy personal data from examples or prior chats into commands, files, or documentation. Use placeholders for IPs, keys, project IDs, host aliases, and account details.
Workflow
- Determine whether the user already has a Hetzner VPS.
- If no VPS exists, explain how to create one in Hetzner Cloud Console.
- Confirm SSH access and the server IP.
- Harden SSH and create the
codexuser. - Install coding-agent tooling and Codex CLI.
- If the user will connect from changing networks, move SSH behind Tailscale.
- Verify from a plain non-interactive SSH command.
- Tell the user to add the host in Codex: Settings > Connections > Add SSH.