Wiki· Updated 29 Oct 2026
Command reference
Commands to copy: Docker, nginx, systemd, SSH, git.
Everyday commands without the theory. Copy and fill in your values.
| Section | Inside |
|---|---|
| Docker and Compose | containers, logs, images, volumes, compose, cleanup |
| nginx | test and reload, proxy, HTTPS, redirects, limits |
| systemd | services, journal, your own unit, timers instead of cron |
| SSH | keys, config, tunnels, copying files |
| git | daily work, branches, undoing changes, tags |
| iptables and nftables | rules, allowlists, persistence, NAT, ufw |
| Docker and the firewall | why ufw does not close container ports and how to |
Also useful: server scripts — rs info, rs slow, rs security collect what these commands are usually run for.
In this section
- Docker and ComposeDocker and Docker Compose commands: containers, logs, images, volumes, networks, cleanup.
- nginxnginx: config test, reload, reverse proxy, HTTPS, redirects, limits, logs.
- systemdsystemctl and journalctl: services, autostart, the journal, your own unit, timers instead of cron.
- SSHSSH: keys, ~/.ssh/config, jump hosts, tunnels, scp and rsync, server settings.
- gitgit: daily commands, branches, merge and rebase, undoing changes, tags, stash.
- iptables and nftablesiptables and nft: list rules, open and close a port, allowlists, keep rules after reboot, port forwarding, ufw.
- Docker and the firewallPorts from docker run -p and compose ports are open to the internet even with ufw deny. How to close them: 127.0.0.1, DOCKER-USER, allowlists.
