GLWS · KNOWLEDGE BASE

Server security.
Lock it down without locking yourself out.

Secure a Linux VPS step by step: SSH key login, a firewall that will not lock you out, Fail2ban, SSH tunnels for private services and more.

A public server is probed within minutes of going online. A few careful steps remove most of the risk: key-only logins, a firewall, and private services reached through a tunnel.

Every guide here tells you how to test a change from a second session before you close the first, so a mistake does not cost you access.

4 security guides

Other topics

Getting started · Linux basics · System administration · Server administration · Kubernetes · Troubleshooting · Monitoring · Networking · Web hosting · Data and storage · AI and LLMs · Self-hosting

Browse all guides