SSH tutorials
Step-by-step SSH tutorials: generate keys, turn off password login, open dashboards through SSH tunnels, copy files with rsync and scp, and run Fail2ban.
7 tutorials
- 12 min read
How to Generate an SSH Key on Windows, macOS, and Linux
Generate SSH keys with ssh-keygen on Windows 11, macOS, or Linux, or with PuTTYgen, then copy the public key to a server and log in with it in 7 steps.
Read tutorial - 13 min read
How to Upgrade Ubuntu 24.04 to 26.04 LTS on a VPS
Upgrade Ubuntu 24.04 to 26.04 LTS over SSH in 10 steps: back up, install updates, open the port 1022 fallback, run do-release-upgrade, then verify services.
Read tutorial - 15 min read
How to Open a Private Dashboard with an SSH Tunnel (Port Forwarding)
Open a dashboard bound to 127.0.0.1 on your server through an SSH tunnel from Windows, macOS, or Linux, save it in ~/.ssh/config, and keep it alive in 6 steps.
Read tutorial - 15 min read
How to Copy Files to a VPS with rsync and scp (Windows, Mac and Linux)
Copy files to a VPS from Windows, Mac or Linux with rsync and scp in 9 steps: dry runs, excludes, resumed copies and a database move, plus a nightly cron job.
Read tutorial - 14 min read
How to Install and Configure Fail2ban on Ubuntu 24.04 and 26.04
Install Fail2ban on Ubuntu 24.04 or 26.04 and protect SSH in 7 steps: journal backend, UFW bans, incremental ban times, the recidive jail, and unban commands.
Read tutorial - 14 min read
How to Install Codex CLI on a Linux Server (Ubuntu 24.04)
Install Codex CLI on a Linux server (Ubuntu 24.04) in 10 steps: a non-root user, the bubblewrap sandbox, device code or API key login, tmux and codex exec.
Read tutorial - 14 min read
How to Run Claude Code on an Ubuntu 24.04 VPS with tmux
Run Claude Code on an Ubuntu 24.04 VPS in 9 steps: native install as a non-root user, headless login, a tmux session, and Remote Control from your phone.
Read tutorial