Set up SSH key authentication
Generate a key on your computer, install its public half, and verify a fresh login before changing authentication settings.
Read guide →GLWS · KNOWLEDGE BASE
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.
Generate a key on your computer, install its public half, and verify a fresh login before changing authentication settings.
Read guide →Allow the SSH port you actually use before enabling UFW or firewalld, then test access from another terminal.
Read guide →Turn off password and root logins with a drop-in file, test it safely, then install Fail2ban to ban addresses that keep guessing.
Read guide →Use SSH port forwarding to open databases, dashboards and admin tools from your computer without exposing them to the internet.
Read guide →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