SSH keys over passwords
Automated bots scan port 22 constantly. Generating an Ed25519 key pair (ssh-keygen) and disabling PasswordAuthentication in /etc/ssh/sshd_config eliminates brute-force password attacks.
Warhawk Division is a gaming community. This is a unit document, not a government or military publication.Warhawk Division is an independent gaming community, for entertainment purposes only. It is not affiliated with, sponsored by, or endorsed by Bohemia Interactive, the United States Department of Defense, or any military organization. Arma Reforger is a trademark of its respective owner. Printed from warhawkdivision.com.
Objectives
Baseline Posture
Field Briefing
Automated bots scan port 22 constantly. Generating an Ed25519 key pair (ssh-keygen) and disabling PasswordAuthentication in /etc/ssh/sshd_config eliminates brute-force password attacks.
UFW (Uncomplicated Firewall) wraps Linux's netfilter firewall in clean commands. Always allow SSH (22/tcp) BEFORE running 'sudo ufw enable' so you never lock yourself out of a remote box.
Install unattended-upgrades on every baseline Ubuntu box so CVE patches never pile up.
Live Ubuntu 24.04 LTS Lab
Generate an Ed25519 SSH key, allow SSH through UFW, enable the firewall, and install unattended-upgrades.
Objectives verify automatically against the live virtual filesystem, running services, and firewall rules.
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-49-generic x86_64) Type 'help' for commands, Tab to autocomplete, Up/Down for history.
Knowledge Check
1. What happens if you run 'sudo ufw enable' on a remote cloud server before allowing port 22?
Module 06: Standing Up a Production Server (40 min)