What are SSH certificates and why do large fleets use them?
AdvancedProductionSSH & Access Hardening
Answer
Instead of copying public keys to every authorized_keys, a CA signs user keys with an identity, allowed principals and an expiry. Servers trust the CA once:
# sshd_config
TrustedUserCAKeys /etc/ssh/user_ca.pub
AuthorizedPrincipalsFile /etc/ssh/principals/%u
ssh-keygen -s user_ca -I alice@corp -n ops -V +8h id_ed25519.pub
Short-lived certificates (hours) mean offboarding is automatic and no key sprawl exists. Host certificates also remove the "unknown host" prompt. Tools like Vault SSH, Teleport and step-ca automate issuance.
More on SSH & Access Hardening
What are the first sshd_config changes you make on a new production server?BeginnerWhy use a drop-in file in /etc/ssh/sshd_config.d/ instead of editing sshd_config?IntermediateWhy disable SSH password authentication entirely?BeginnerShould you change the SSH port from 22?IntermediateHow do you restrict what a specific SSH key can do?AdvancedHow do you apply different sshd rules for different users or networks?Intermediate