SSHD Baseline Hardening: sane defaults, fewer surprises

Short version: Keys only, no root login, narrow who can connect, and log enough to investigate. Do not hardcode ciphers; modern OpenSSH defaults are already strong—your job is policy and hygiene. 1) Access policy # /etc/ssh/sshd_config — additive baseline Protocol 2 PermitRootLogin no PasswordAuthentication no PubkeyAuthentication yes ChallengeResponseAuthentication no KbdInteractiveAuthentication no UsePAM yes LoginGraceTime 30 … Read more