This is a Claude Code prompt designed to automate the secure setup of an Ubuntu 24.04 VPS on Hetzner. It guides the AI to interactively collect user credentials and then execute a series of shell commands to harden the system, including SSH configuration, firewall rules, and optional Tailscale integration.
Highlights
Automates initial server hardening for Ubuntu 24.04 LTS on Hetzner infrastructure.
Enforces strict SSH security by disabling root login, password auth, and restricting access to a single user.
Integrates fail2ban and UFW firewall to protect against brute-force attacks.
Offers optional Tailscale VPN setup for secure private network access from mobile devices.
Uses an interactive prompt structure where Claude Code asks for username, SSH key, and Tailscale preference before execution.
Install tailscale subnet router on Firewalla Gold - mbierman/firewalla-tailscale-docker
skeptrune.com
How I Use Claude Code & SSH on My Phone with Termux and Tailscale
You don’t need a new startup or third-party service to use Claude Code on your phone. You just need SSH, Tailscale, and Termux. Here’s how to code fro...
tailscale.com
Aperture GA: model tokens, MCP controls, Projects, and custom permissions
Aperture’s GA release offers built-in tokens, Tailscale MCP endpoints, chat Projects, and fine-grained tool permissions.
Related Articles
New Virtual Machine Server Setup Checklist
A detailed guide to setting up a new Linux virtual machine server, from initial updates to security hardening
Setting Up a New PC / Server with Pop!_OS 22.04
A detailed checklist for setting up a PC / server with Pop!_OS 22.04, from BIOS configuration to essential tools installation