VPS hardening checklist: secure a new Linux server in 15 minutes
A practical checklist for a new Linux VPS: SSH keys, a non-root user, firewall, automatic updates and backups, with the commands.
Read more →Updated 2026-11-11 · Published by AnonVPS
ssh-keygen -t ed25519 -C "my-vps"
cat ~/.ssh/id_ed25519.pubssh-copy-id admin@YOUR-SERVER-IP
ssh admin@YOUR-SERVER-IPTest that key login works in a second terminal before you close the first one.
sudo tee /etc/ssh/sshd_config.d/99-hardening.conf >/dev/null <<'EOF'
PasswordAuthentication no
PermitRootLogin no
KbdInteractiveAuthentication no
EOF
sudo sshd -t && sudo systemctl reload sshsudo apt install -y fail2ban
sudo tee /etc/fail2ban/jail.d/sshd.local >/dev/null <<'EOF'
[sshd]
enabled = true
maxretry = 5
findtime = 10m
bantime = 1h
EOF
sudo systemctl enable --now fail2ban
sudo fail2ban-client status sshdContinue with the hardening checklist.
sudo journalctl -u ssh -n 20 --no-pager
sudo fail2ban-client status sshd
sudo ufw statusIt reduces noise but is not security. Keys and fail2ban matter more.
Use the in-browser console from your order page to fix the config.
A practical checklist for a new Linux VPS: SSH keys, a non-root user, firewall, automatic updates and backups, with the commands.
Read more →Step-by-step: buy a VPS without an ID upload, pay in crypto, keep your access key safe and secure the server on day one.
Read more →The common operational security mistakes that link a server to its owner: reused identities, leaked metadata, logins and DNS. A checklist to avoid them.
Read more →