aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-chess.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 00:15:25 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 00:15:25 -0400
commit3d84575b68eda073b5baeecebb639ef3e6cfba1d (patch)
tree52d8a4267c0003c3da39162c9b7d2c0eb4f47a0b /scripts/setup-chess.sh
parent2c2d6fcf6d8597257c398e1b05bd3ca58f9dfca0 (diff)
downloadarchsetup-3d84575b68eda073b5baeecebb639ef3e6cfba1d.tar.gz
archsetup-3d84575b68eda073b5baeecebb639ef3e6cfba1d.zip
feat(archsetup): harden sshd with a prohibit-password drop-in
The installer now writes /etc/ssh/sshd_config.d/10-hardening.conf with PermitRootLogin prohibit-password and reloads sshd, right after it starts the service. Root can still log in by key, never by password. PasswordAuthentication is left at the default so a normal user can bootstrap a key with ssh-copy-id. This makes the posture intentional instead of leaning on Arch's commented default. velox and ratio both carried an explicit PermitRootLogin yes from earlier provisioning, which I'd already fixed by hand.
Diffstat (limited to 'scripts/setup-chess.sh')
0 files changed, 0 insertions, 0 deletions