Turn off SSH password and root login
sshd accepted passwords from the internet (about 12,000 failed logins a day) and root logins with a key. Keys only now, no root, no X11 forwarding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,7 +74,7 @@ subdomain.
|
||||
|
||||
### Roles (`site.yml` runs common, docker, cron)
|
||||
- **bootstrap**: user, SSH key, passwordless sudo, UFW, then `artis3n.tailscale`.
|
||||
- **common**: `aptitude`, `jq`, daily unattended security updates, UFW on with default deny.
|
||||
- **common**: `aptitude`, `jq`, daily unattended security updates, SSH keys only (no root login), UFW on with default deny.
|
||||
- **docker**: Docker CE, shell setup (zsh, Atuin, bat), ufw-docker, the `lava`
|
||||
network, and every service.
|
||||
- **cron**: dockcheck (08:00, auto-updates labelled containers, Gotify notices)
|
||||
|
||||
Reference in New Issue
Block a user