Automation · Automation Security
SSH Key Management
Cheat sheet · https://pcornel.dk/topic.php?topic=5907
Answer
SSH Key Management secures fleet-wide automation SSH access by governing key issuance, host trust, authorized principals, restrictions, inventory, rotation, revocation and detection of unmanaged keys.
Remember
- SSH key works ≠ key should exist.
- Key fingerprint known ≠ target placement compliant.
- Central CA ≠ unrestricted principals safe.
- Key rotated in controller ≠ key removed from fleet.
First checks
- Key inventory (where each key is authorised) — visibility
- SSH certificates or short-lived keys — rotation
- Passphrase/agent/vault protection — storage
Verify in this order
key/cert → authorized → login audited
Where it usually breaks
SSH Key Management proves governed key/principal state across inspected targets; it does not prove endpoint integrity or every command authorization path.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5907