First five minutes on a new instance
- 1ssh [email protected] — credentials are in the provisioning email, or use the key you supplied.
- 2adduser you && usermod -aG sudo you — then disable root login in /etc/ssh/sshd_config.
- 3ufw allow OpenSSH && ufw enable — the firewall is open by default so nothing locks you out at boot.
- 4unattended-upgrades is preinstalled on Debian and Ubuntu images and already enabled.