Skip to content

Server and OS ​

Hardware ​

netcup VPS 1000 ARM G12.5 in Vienna.

CPU4 ARM vCores (arm64)
RAM8 GB, plus a 4 GB swap file (vm.swappiness=10)
Disk128 GB NVMe, one partition
NetworkIPv4 and IPv6
BootUEFI, which matters for snapshots (offline only)

Operating system ​

Ubuntu 24.04 LTS (netcup's minimal image), clock set to UTC.

  • User: stu, with passwordless sudo. Logging in needs the SSH key. The root password is locked.
  • SSH: key only, no password or keyboard-interactive login, MaxAuthTries 3, no X11. AllowUsers stu, plus root only from the Docker networks (10.0.0.0/8, 172.16.0.0/12). That exception is how Coolify manages the host from its own container. The settings live in /etc/ssh/sshd_config.d/00-hardening.conf, which wins over sshd_config because sshd uses the first value it sees.
  • fail2ban: the sshd jail bans an IP for 1 hour after 5 failures in 10 minutes.
  • Updates: unattended-upgrades runs daily. If an update needs a reboot, it reboots at 04:00 UTC.
  • Docker: installed by Coolify, with log rotation and a 10.0.0.0/8 address pool.
  • Claude Code is installed for stu (~/.local/bin/claude), along with tmux, for interactive sessions on the server.

Changing SSH settings safely ​

Keep one session open, run sudo sshd -t, reload, then test a new login before closing the old one. If both fail, the way back in is the netcup console (see Snapshots and recovery).