OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.

Guides
169
Favorites
0
169 launch guides · 1781 reviewed steps
5 of 169 guides

Security · System Administration

Harden SSH and require key-based login

Introduce per-user keys, validate a drop-in, test a second session, and only then disable password and root login.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsUbuntu Server

Security · Networking & DNS

Build a baseline nftables firewall

Create a default-deny host firewall with loopback, established traffic, controlled SSH, service ports, logging, validation, and rollback.
Save to collectionCreate a collection in the sidebar first.
danger40 minadvanced8 stepsUbuntu Server

Containers & Kubernetes · Security

Install Docker Engine and Compose with safer defaults

Install from Docker's signed repository, limit daemon exposure, bound logs, and document privilege boundaries.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate9 stepsUbuntu Server

System Administration · Security

Create and harden a custom systemd service

Use a dedicated identity, explicit paths, bounded restarts, sandboxing, logs, and a verified rollback.
Save to collectionCreate a collection in the sidebar first.
caution45 minadvanced8 stepssystemd

System Administration · Security

Perform an initial Ubuntu Server setup and security hardening

Create a named administrator, prove key-based recovery access, patch the host, restrict SSH, enable a host firewall, and verify time and exposed services.
Save to collectionCreate a collection in the sidebar first.
caution45 minintermediate10 stepsUbuntu Server