Skip to content
connorads avatar

Hetzner Server

Create and manage Hetzner Cloud servers with the hcloud CLI, including firewalls, swap, and SSH setup.

CCM score
67 of 100
skills.sh installs
240
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers server creation on ARM and x86 types, IPv6-only servers, cloud-init user-data, and swap configuration
  • Includes three firewall profiles (ts-ssh, ts-only, ts-web) that can be swapped on running servers
  • Provides hcssh to sync ~/.ssh/config with managed <name> and <name>-agent Host entries for each server
  • Designed for dev and remote servers that need Tailscale-only access, and requires an authenticated hcloud context

Install

$ npx -y skills add connorads/dotfiles --skill hetzner-server -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Hetzner Server Management

Create and manage Hetzner Cloud servers using the hcloud CLI.

Prerequisites

  • hcloud CLI installed (via mise: hcloud = "latest")
  • Authenticated: hcloud context create <name> with API token from https://console.hetzner.cloud

Cloud Firewalls

Reusable firewall profiles applied at server creation. Firewalls can be swapped on running servers - use apply-to-resource / remove-from-resource.

FirewallRulesUse case
ts-sshUDP 41641 (Tailscale) + TCP 22 (SSH)Dev boxes - initial setup, swap to ts-only after restricting UFW to Tailscale
ts-onlyUDP 41641 (Tailscale)Tailscale-only access, no public ports
ts-webUDP 41641 (Tailscale) + TCP 80,443 (HTTP/S)Servers accepting public web traffic

Swapping firewalls on a running server

hcloud firewall remove-from-resource ts-ssh --type server --server dev
hcloud firewall apply-to-resource ts-only --type server --server dev

Quick Reference

Create a server

Details

Repository
github.com/connorads/dotfiles
Category
DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the hetzner-server skill do?

The hetzner-server skill creates and manages Hetzner Cloud servers using the hcloud CLI. It covers creating VPS servers, applying cloud firewalls, adding swap, and running dotfiles setup on first boot.

What does hetzner-server need before it can run?

hetzner-server requires the hcloud CLI, installed for example via mise with hcloud = "latest". You also need to authenticate with hcloud context create using an API token from the Hetzner Cloud console.

How do I install the hetzner-server skill?

Run npx -y skills add connorads/dotfiles --skill hetzner-server -y in a project to install it. Once installed, the hetzner-server skill lets the agent create and manage Hetzner servers through hcloud.

Where does hetzner-server stand in the DevOps & Cloud category?

hetzner-server is listed in the DevOps & Cloud category on Claude Marketplaces. It focuses on Hetzner Cloud servers, where many other skills in that category target Azure.

More from connorads/dotfiles

All 2

Similar to Hetzner Server

More DevOps & Cloud