René's URL Explorer Experiment


Title: Server Setup Script Generator | Ubuntu VPS Hardening

Open Graph Title: Server Setup Script Generator | Ubuntu VPS Hardening

Description: Generate a bash setup script for a fresh Ubuntu or Debian VPS. Hardens SSH, configures UFW, fail2ban, Docker, swap, and unattended upgrades.

Open Graph Description: Generate a bash setup script for a fresh Ubuntu or Debian VPS. Hardens SSH, configures UFW, fail2ban, Docker, swap, and unattended upgrades.

Opengraph URL: https://sshworkbench.com/tools/server-setup-script-generator

direct link

Domain: sshworkbench.com

IPv4 address: 172.67.157.29


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is server hardening?","acceptedAnswer":{"@type":"Answer","text":"Server hardening is the process of reducing a server's attack surface by removing unnecessary services, locking down configurations, and applying security patches. On a fresh Ubuntu or Debian VPS this typically means: creating a non-root user with SSH key auth, disabling root SSH and password authentication, enabling a firewall (UFW), installing fail2ban to block brute-force attempts, turning on automatic security updates, and applying kernel/network sysctl tweaks. The script generated above performs all of those steps in one run."}},{"@type":"Question","name":"Should I disable root SSH login with password?","acceptedAnswer":{"@type":"Answer","text":"Yes. Allowing root over SSH with a password is one of the highest-risk default settings on a Linux server. Botnets continuously brute-force port 22 looking for weak root passwords. Best practice is to (1) create a non-root sudo user, (2) install your SSH public key for that user, (3) set PermitRootLogin no and PasswordAuthentication no in sshd_config. Always test your key-based login in a second terminal before closing the session that disabled password auth, otherwise you can lock yourself out."}},{"@type":"Question","name":"Is UFW enabled by default on Ubuntu?","acceptedAnswer":{"@type":"Answer","text":"No. UFW (Uncomplicated Firewall) is installed by default on Ubuntu Server but is not enabled. You have to turn it on explicitly with ufw enable. Critically, you must allow your SSH port before enabling UFW, otherwise the next time you reconnect you will be locked out. The generated script handles this for you: it always allows the active SSH port (whether 22 or your custom port) before running ufw --force enable."}},{"@type":"Question","name":"How big should a swap file be on a Linux VPS?","acceptedAnswer":{"@type":"Answer","text":"For most cloud VPS workloads a swap file of 1-2x your RAM is reasonable, capped at around 4-8 GB. A 1 GB VPS commonly uses 1-2 GB of swap, a 2 GB VPS uses 2-4 GB, and beyond ~8 GB of RAM most servers do not need much swap at all unless they hibernate (which VPSes do not). Set vm.swappiness=10 (the script does this) so the kernel only uses swap under real memory pressure rather than aggressively swapping idle pages out."}},{"@type":"Question","name":"How do unattended-upgrades work on Ubuntu?","acceptedAnswer":{"@type":"Answer","text":"unattended-upgrades is an Ubuntu/Debian package that runs in the background and automatically installs updates from configured origins (by default, just the -security pocket). It runs daily via the apt systemd timer (apt-daily.timer and apt-daily-upgrade.timer), checks the allowed origins listed in /etc/apt/apt.conf.d/50unattended-upgrades, and applies matching updates. The script enables it with security-only origins and leaves automatic reboot off, which is the safest production default."}}]}

twitter:cardsummary_large_image
og:typewebsite
og:site_nameSSH Workbench

Links:

SSH Workbenchhttps://sshworkbench.com/
Featureshttps://sshworkbench.com/#features
1-Click Self-Hosthttps://sshworkbench.com/self-host
Monitoringhttps://sshworkbench.com/monitoring
Pricinghttps://sshworkbench.com/#pricing
Free Toolshttps://sshworkbench.com/tools
Server Fix Guideshttps://sshworkbench.com/fix
Cheat Sheetshttps://sshworkbench.com/cheatsheets
PuTTY Downloadhttps://sshworkbench.com/download/putty
Toolshttps://sshworkbench.com/tools
Key Generatorhttps://sshworkbench.com/tools/ssh-keygen
Port Checkerhttps://sshworkbench.com/tools/ssh-port-checker
Config Generatorhttps://sshworkbench.com/tools/ssh-config-generator
Key Validatorhttps://sshworkbench.com/tools/ssh-key-validator
PEM to PPK Converterhttps://sshworkbench.com/tools/pem-to-ppk-converter
PPK to PEM Converterhttps://sshworkbench.com/tools/ppk-to-pem-converter
PuTTY Key Generatorhttps://sshworkbench.com/tools/putty-key-generator
SSL Checkerhttps://sshworkbench.com/tools/ssl-checker
Certificate Decoderhttps://sshworkbench.com/tools/certificate-decoder
chmod Calculatorhttps://sshworkbench.com/tools/chmod-calculator
htpasswd Generatorhttps://sshworkbench.com/tools/htpasswd-generator
Cron Generatorhttps://sshworkbench.com/tools/cron-generator
Cron to systemd Timerhttps://sshworkbench.com/tools/cron-to-systemd-timer
Unit File Generatorhttps://sshworkbench.com/tools/systemd-unit-generator
Unit File Validatorhttps://sshworkbench.com/tools/systemd-unit-validator
PM2 Ecosystem Generatorhttps://sshworkbench.com/tools/pm2-ecosystem-generator
PM2 to systemdhttps://sshworkbench.com/tools/pm2-to-systemd
Nginx Config Generatorhttps://sshworkbench.com/tools/nginx-config-generator
Nginx to Caddy Converterhttps://sshworkbench.com/tools/nginx-to-caddy
Traefik Label Generatorhttps://sshworkbench.com/tools/traefik-label-generator
Docker Compose Generatorhttps://sshworkbench.com/tools/docker-compose-generator
Dockerfile Generatorhttps://sshworkbench.com/tools/dockerfile-generator
Firewall Rule Generatorhttps://sshworkbench.com/tools/firewall-rule-generator
iptables to nftableshttps://sshworkbench.com/tools/iptables-to-nftables
rsync Command Builderhttps://sshworkbench.com/tools/rsync-command-builder
rsync Flag Explainerhttps://sshworkbench.com/tools/rsync-flag-explainer
Setup Script Generatorhttps://sshworkbench.com/tools/server-setup-script-generator
rsync Command BuilderBuild rsync commands visually. Local or remote source/destination, flag toggles, exclude patterns, and presets.https://sshworkbench.com/tools/rsync-command-builder
rsync Flag ExplainerPaste any rsync command and instantly see what every flag does, with risky-flag warnings.https://sshworkbench.com/tools/rsync-flag-explainer
Firewall Rule GeneratorCross-platform firewall rule builder (UFW, iptables, nftables, Windows, AWS, GCP). Also explains existing rules.https://sshworkbench.com/tools/firewall-rule-generator
iptables to nftablesConvert iptables rules to nftables. Translates chains, NAT, conntrack, and common matchers.https://sshworkbench.com/tools/iptables-to-nftables
Docker Compose GeneratorBuild docker-compose.yml visually. Add services, volumes, networks, and env vars, with live YAML and lint warnings.https://sshworkbench.com/tools/docker-compose-generator
Try SSH Workbench Freehttps://sshworkbench.com/#pricing
SSH Key Generatorhttps://sshworkbench.com/tools/ssh-keygen
Cron Generatorhttps://sshworkbench.com/tools/cron-generator
systemd Unit Generatorhttps://sshworkbench.com/tools/systemd-unit-generator
Traefik Label Generatorhttps://sshworkbench.com/tools/traefik-label-generator
rsync Flag Explainerhttps://sshworkbench.com/tools/rsync-flag-explainer
PEM to PPK Converterhttps://sshworkbench.com/tools/pem-to-ppk-converter
View all tools →https://sshworkbench.com/tools
SSH Connection Refusedhttps://sshworkbench.com/fix/ssh-connection-refused
SSH Host Key Verification Failedhttps://sshworkbench.com/fix/ssh-host-key-verification-failed
PuTTY Connection Refusedhttps://sshworkbench.com/fix/putty-network-error-connection-refused
PuTTY Server Refused Our Keyhttps://sshworkbench.com/fix/putty-server-refused-our-key
PuTTY Key Format Too Newhttps://sshworkbench.com/fix/putty-key-format-too-new
Docker No Space Left on Devicehttps://sshworkbench.com/fix/docker-no-space-left-on-device
View all guides →https://sshworkbench.com/fix
PuTTY for Machttps://sshworkbench.com/putty-for-mac
SSH Commandshttps://sshworkbench.com/cheatsheets/ssh
PuTTY Commandshttps://sshworkbench.com/cheatsheets/putty
Docker Commandshttps://sshworkbench.com/cheatsheets/docker
tmux Cheat Sheethttps://sshworkbench.com/cheatsheets/tmux
systemctl Commandshttps://sshworkbench.com/cheatsheets/systemctl
rsync Commandshttps://sshworkbench.com/cheatsheets/rsync
View all cheat sheets →https://sshworkbench.com/cheatsheets
Postgreshttps://sshworkbench.com/self-host/postgres
Redishttps://sshworkbench.com/self-host/redis
n8nhttps://sshworkbench.com/self-host/n8n
Grafanahttps://sshworkbench.com/self-host/grafana
ClickHousehttps://sshworkbench.com/self-host/clickhouse
MongoDBhttps://sshworkbench.com/self-host/mongodb
Self-host apps →https://sshworkbench.com/self-host
Contacthttps://sshworkbench.com/cdn-cgi/l/email-protection#a5cdc0c9c9cae5d6d6cdd2cad7cec7c0cbc6cd8bc6cac8
Termshttps://sshworkbench.com/terms
Privacyhttps://sshworkbench.com/privacy
Accounthttps://account.functioncraft.dev
Functioncrafthttps://functioncraft.dev
Elasticsearch GUIhttps://1bench.dev/elasticsearch
AWS Cost Monitoringhttps://costgoat.com/monitor/aws
CLI Tool Distributionhttps://prod0.dev/cli-tools

Response headers:
Servercloudflare
Content-Typetext/html; charset=utf-8
X-Powered-ByNext.js
Via1.1 Caddy
Cache-Controlpublic, s-maxage=86400, stale-while-revalidate=604800

Viewport: width=device-width

Robots: index,follow


URLs of crawlers that visited me.