10 Commits
Author SHA1 Message Date
Clément Désiles ea93eb8c59 fix(sshd): make authorized_keys fallback readable by the session user
The fallback was created via cp as root:root 0600 and relied on a separate
chown task to fix ownership. When that chown did not take, sshd could not
read /etc/ssh/authorized_keys/<user> in the unprivileged session, so pubkey
auth failed whenever the encrypted home was locked.

Replace the cp + chown pair with a single idempotent copy that keeps the
file root-owned but world-readable (0644). It contains only public keys, so
0644 is safe and passes StrictModes.
2026-09-10 21:21:06 +02:00
Clément Désiles 642a0f8ea4 fix(sshd): move login banner to zsh .zprofile
sshd Banner fires on every connection (scp, sftp, non-interactive), the wrong layer for a welcome banner. Move to .zprofile, interactive login shells only.
2026-08-25 22:58:03 +02:00
Clément Désiles f9397ad38c feat: allow sshd to bind on multiple networks 2026-04-11 22:54:35 +02:00
Clément Désiles c79c445a23 chore: ansible-lint review (almost done) 2026-01-04 11:21:15 +01:00
Clément Désiles cab15e590e doc: add ufw description 2025-11-10 18:25:55 +01:00
Clément Désiles 2c421611ae chore: ansible-lint 2025-11-02 21:18:15 +01:00
Clément Désiles 2c6da106b2 fix: ssh authorized_keys fallback 2025-08-26 01:13:19 +02:00
Clément Désiles e1a1518cb8 feat: enhance sshd fallback over missing $HOME 2025-08-26 01:02:53 +02:00
Clément Désiles 117978fe52 feat: add metric support and fix net-persist issues with multiple NICs 2025-08-26 00:31:24 +02:00
Clément Désiles c612cc7839 chore: first commit 2025-07-25 20:23:54 +02:00