💻 Quidkey CTO moved Claude Code to a server for €19 a month
Rabea Bader ran the agent 24/7 on Hetzner in Germany: Tailscale without public SSH, mosh survives network changes, tmux keeps sessions alive. Instead of bypass permissions — API key scoping, read-only database access, PRs without merging to main, one public port via Tailscale Funnel for webhooks. The first server with 2 cores and 4 GB died from lack of memory, the bottleneck became token limits.
🌍 Inversion of the trust model: security is not in the model's obedience, but in what the agent can reach. The Hetzner + Tailscale + mosh + tmux setup makes long overnight Claude Code runs safe.
👤 The recipe is reproducible in an evening: €19/month and ~30 minutes of setup. Lessons: keep the agent in tmux (five forgotten sessions outside it used ~1.6 GB RAM) and budget extra memory for Playwright tests.
Source 1: https://rabea.sh/posts/why-i-run-claude-code-on-a-server
