OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

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

Guides
243
Favorites
0
243 launch guides · 2601 reviewed steps
7 of 243 guides

DevOps & CI/CD · Identity & Access · Incident Response & Troubleshooting · Security

Fix Ansible Missing sudo password and Host key verification failed

Ansible Missing sudo password and Host key verification failed are separate trust-boundary failures that can appear in the same run. Host key verification happens before remote login and protects the server identity; SSH authentication proves the automation identity; become authentication authorizes privilege escalation after login. This Guide separates those layers, starts with read-only evidence, verifies changed host keys out of band, and restores interactive or noninteractive become without disabling security controls.
Save to collectionCreate a collection in the sidebar first.
caution60 minintermediate12 stepsAnsible control node

DevOps & CI/CD · Security · System Administration

Configure Ansible inventory, SSH, roles, Vault, and idempotent deployments

Build a pinned ansible-core 2.21 control environment, authenticated SSH inventory, exact roles and collections, named Vault IDs, least-privilege become, check/diff gates, rolling deployment, idempotency proof, and rollback.
Save to collectionCreate a collection in the sidebar first.
caution210 minadvanced15 stepsansible-core

Identity & Access · Incident Response & Troubleshooting

Fix SSH Permission denied (publickey) without weakening authentication

Trace the SSH user, host, selected key, agent, server policy, authorized_keys path, permissions, and authentication log before changing access controls.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsOpenSSH client

Security · Services & Applications

Protect SSH and web authentication with Fail2ban

Use local jail overrides, verify filters against real logs, test bans safely, and retain an unban path.
Save to collectionCreate a collection in the sidebar first.
caution35 minintermediate8 stepsUbuntu Server

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

System Administration · Security

Create remote, versioned backups with rsync and SSH

Use a dedicated SSH identity, dry-run transfers, build hard-linked snapshots, enforce retention, and test restore.
Save to collectionCreate a collection in the sidebar first.
caution55 minadvanced8 stepsrsync

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