Repository navigation
Ultimate Hardening 2.5.3
Bug-fix release. Module 2 (SSH) no longer turns off password login and root login when no account other than root can log in with a key, so a run cannot lock you out of a host you reach as root or with a password.
Fixed
- Module 2 (SSH) turned off password login and root login even when no other
account could log in with a key, which locked operators out of hosts they
reach as root or with a password (the usual fresh cloud VPS). It now writes
those two settings only when an account other than root has a key sshd
accepts in an authorized_keys file, or sshd trusts aTrustedUserCAKeysCA.
Otherwise it applies the other 11 settings and says how to finish.
--dry-runreports the same. Keys served by anAuthorizedKeysCommand
(LDAP, SSSD) cannot be checked, so those hosts setUH_SSH_LOCKOUT_CHECK=false.