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.