Hetzner setup for Claude Code and Codex remote coding
Learn SSH and tmux setup, Tailscale access, and Cloudflare Tunnel sharing for remote coding on the speaker's 8 GB Hetzner server.
Player not loading? Watch on YouTube
This tutorial explains how the speaker runs a coding assistant on a Hetzner server and reconnects from a laptop or phone. The example server has 8 GB of RAM and 80 GB of storage. The speaker reports paying about $10 per month, or €8.50, and compares that with an AWS T3 large instance. These are the figures quoted in the video.
The setup uses SSH keys and disables password authentication. SSH configuration shortcuts attach directly to a persistent tmux session or create a new one. Tailscale connects the server and personal devices through a mesh network; the speaker explains how this permits SSH access while blocking public access to port 22.
Claude Code remote control provides access through Claude web and mobile while the server stays running. The speaker also covers Codex remote connections, describing them as an alpha feature that requires configuration and settings changes. Hosting the AI agent on a separate server keeps its file access away from the laptop, but the speaker's risk assessment depends on keeping sensitive material off that server.
Remote coding has limits: the speaker reports Conductor incompatibility and browser login difficulties. The final section demonstrates Cloudflare Tunnel and an email login gate for sharing a QA site with teammates without opening inbound ports.