Visit this page to download: https://github.com/religious-polygoniacomma936/claude-vps-setup-prompt/releases
This project gives you a clear setup guide for a Hetzner VPS running Ubuntu 24.04. It helps you lock down SSH access, turn on fail2ban, set up the UFW firewall, and add Tailscale if you want private remote access.
It is built as a Claude Code prompt, so you can use it as a guided setup flow instead of piecing things together yourself.
Before you start, make sure you have:
- A Windows computer
- An internet connection
- A Hetzner VPS with Ubuntu 24.04 installed
- Your server IP address
- Your SSH login details
- A text editor if you want to review the prompt file
This project is meant to help you prepare and manage a VPS, but the download and first use happen on Windows.
- Open the download page: https://github.com/religious-polygoniacomma936/claude-vps-setup-prompt/releases
- Find the latest release on the page
- Download the release file from that page
- Save the file to a folder you can find again, such as Downloads or Desktop
- Open the file if it is provided as a document or prompt file
- If you plan to use it with Claude Code, copy the prompt into your workflow or tool as needed
Use this flow if you want to get set up fast:
- Download the latest release
- Read the setup prompt
- Prepare your VPS details
- Connect to your server with SSH
- Apply the SSH hardening steps
- Enable fail2ban
- Turn on the UFW firewall
- Add Tailscale only if you want private access
The guide helps you make SSH safer by:
- Turning off password login
- Using SSH keys
- Limiting root access
- Changing common defaults where needed
This lowers the chance of basic login attacks.
fail2ban watches for repeated failed login attempts and blocks the source for a time.
It helps protect your server from:
- Brute-force login attempts
- Repeated SSH scans
- Simple automated attacks
UFW gives you a simple firewall layer for Ubuntu.
The guide helps you:
- Allow only needed ports
- Block the rest
- Keep SSH open while closing extra access points
Tailscale adds private network access between your devices and the VPS.
Use it if you want:
- Easy private access
- Less need to expose services to the public internet
- Simple remote access from trusted devices
- Go to the release page: https://github.com/religious-polygoniacomma936/claude-vps-setup-prompt/releases
- Download the latest release
- Open the downloaded file
- Save a copy in a safe place
- If the release includes a prompt file, use it with Claude Code or your preferred workflow tool
- If the release includes notes or a guide, read them before you change your server
The prompt is meant to guide your server setup in a step-by-step way.
You can use it to:
- Review the commands you need
- Keep your setup order clear
- Avoid missing common security steps
- Follow a repeatable process for new VPS installs
If you are new to server setup, use it as a checklist and go one step at a time.
Use your SSH details to log in to the server.
You will usually need:
- Server IP
- Username
- Password or key
- Terminal app or SSH client
Before changing anything, update Ubuntu so you start from a clean base.
This helps reduce package issues and keeps your server current.
SSH keys are safer than passwords.
The guide helps you move to key-based login so you can reduce weak login risk.
After keys are ready, the guide helps you tighten SSH settings.
This may include:
- Turning off root login
- Turning off password login
- Keeping only trusted access methods
Install and enable fail2ban so your server can react to failed login attempts.
This adds another layer of defense without much effort.
Enable the firewall and allow only the ports you need.
A basic setup often keeps:
- SSH open
- Web ports open only if needed
- All other traffic blocked
If you want a private path into your VPS, install Tailscale.
This works well for admin access, internal tools, or small private setups.
Use this guide right after you get your Ubuntu 24.04 VPS.
It helps you move from a fresh install to a safer setup.
If you plan to host a site, app, or tool, the firewall and SSH steps help protect the server from simple attacks.
If you do not want to expose your server too much, Tailscale gives you a private route.
You can keep the download easy to find by using this layout:
Downloads\claude-vps-setup-promptDesktop\VPS-SetupDocuments\Server-Guides
Keep the release file and any notes in one place so you can return to them later.
Follow this order:
- Download the release
- Open the release page again if needed
- Read the prompt file
- Prepare your VPS login details
- Make each server change one at a time
- Test SSH before you close any password login option
- Confirm the firewall rules after you enable them
After you finish, check that:
- You can still connect with SSH
- Password login is off if you turned it off
- fail2ban is running
- UFW is active
- Only the ports you wanted are open
- Tailscale works if you installed it
A simple order looks like this:
- Update Ubuntu
- Create or confirm SSH keys
- Test SSH key login
- Disable password login
- Install fail2ban
- Turn on UFW
- Allow only needed ports
- Add Tailscale if you want private access
- Keep one SSH session open while you make changes
- Test each step before moving on
- Save your server details in a safe place
- Use SSH keys instead of passwords
- Open only the ports you need
- Review changes before you apply them
Download the latest version here:
https://github.com/religious-polygoniacomma936/claude-vps-setup-prompt/releases
This project is a good fit if you:
- Use Windows
- Have a Hetzner VPS
- Want Ubuntu 24.04 server setup help
- Need safer SSH access
- Want a simple firewall setup
- May want Tailscale for private access
Go back to the release page and check the latest release section.
Use your Hetzner console or recovery access, then check your SSH settings and firewall rules.
Use server console access from Hetzner to recover login access and review the SSH changes.
Check that the service is running and that SSH logs are being watched.
Add the port to UFW, then reload the rules and test again.
If you need the file later, use this page:
https://github.com/religious-polygoniacomma936/claude-vps-setup-prompt/releases