You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: detect SSH service unit by existence (systemctl cat) not by active state — prevents false sshd fallback on Ubuntu 24.04 where only ssh.socket is active
Binary rebuild from clean source. v0.1.3 was compiled before the port-in-use preflight removal (0d33940) was included in the working-directory build. This release has the correct binary with all fixes from v0.1.1–v0.1.3: SSH port range, port-in-use check removed, per-command timeouts.
v0.1.3 — per-command timeouts to prevent harden hangs
Fix: all exec.Command calls in harden.go now use exec.CommandContext with hard timeouts (5-30s systemctl, 5-10s ss/nc/visudo, 120s apt-get). Prevents indefinite hang when systemctl restart ssh stalls.