|
|
|
|
|
by brintha
164 days ago
|
|
That’s a good point. LDAP/AD-backed SSH key management is a solid approach, especially in environments that already have directory infrastructure in place. Centralizing authorized keys and avoiding local authorized_keys sprawl definitely improves auditability. The scenarios I was thinking about in the post were more around smaller cloud-native teams that don’t run LDAP/AD at all, or where servers are fairly ephemeral and identity is managed elsewhere. In those setups, distributing and rotating SSH keys — even via automation — can still become operationally noisy. I agree that directory-backed key management is a strong pattern when that infrastructure already exists. |
|
sshd_config would need to be updated with:
so that keys under home directories are ignored. Each username or service account name in /etc/ssh/keys can have multiple public keys but each of those keys must be mapped in a security management repo or security management tool. If anything is manually added the secrets management tool should get a diff then restore only the public keys that are in the secrets management tool.