Passphrases
conceptA passphrase is a secret used to encrypt a private key at rest on disk. It is not a password for a server—it protects the key file itself.
What it does:
- prevents immediate use if the file is stolen
What it does not do:
- prevent offline brute-force attacks
- limit guessing attempts
- protect against malware on an unlocked system
The important reality:
If someone steals a private key file, they can brute-force the passphrase offline with unlimited attempts.
That's why strength matters—20+ characters, stored in a password manager. The tradeoff is honest: no passphrase → convenient, unsafe; passphrase → safer, annoying.
And if you forget it: there is no recovery. You cannot use the key. Generate a new key pair and deploy it to your servers—which is exactly why the passphrase belongs in a password manager.