Short answer
Not by default: the ssh command built into macOS supports post-quantum key exchange, but macOS's own settings put classical ECDH first, so connections can stay classical even when the server offers post-quantum. A one-line change in your SSH config fixes it.
- Encryption: Available, switch it on
- Logins: Not yet (quantum-vulnerable)
Last checked against the company's own announcements.
Post-quantum status of macOS built-in SSH
Encryption of your data (key exchange)
Available, switch it on
Algorithm: mlkem768x25519-sha256 or sntrup761x25519-sha512 (hybrid, OpenSSH)
What it covers: Terminal's ssh, git over SSH and anything else that uses macOS's built-in OpenSSH client.
Reported on macOS 26 with OpenSSH 10.3: the system file /etc/ssh/crypto.conf moves ecdh-sha2-nistp256 to the front, so the Mac picks classical ECDH even when the server lists a post-quantum method first. Older macOS versions may differ. Homebrew's OpenSSH is not affected by this setting.
Logins and identity (signatures)
Not yet (quantum-vulnerable)
SSH host and user keys (Ed25519, ECDSA, RSA) are classical; OpenSSH has no post-quantum signature key type yet.
What you should do
Action needed
Add this line at the very top of ~/.ssh/config, above any Host blocks: KexAlgorithms ^mlkem768x25519-sha256,[email protected] Then check with: ssh -v yourserver true 2>&1 | grep "kex: algorithm". It should show mlkem768x25519-sha256 or sntrup761x25519-sha512.
Version needed: macOS 26 (OpenSSH 10.x)
How macOS built-in SSH compares with other developer platforms
| App or service | Encryption (key exchange) | Logins (signatures) | Checked |
|---|---|---|---|
| GitHub | Protected | Not yet | Dec 4, 2026 |
| GitLab.com | Protected | Not yet | Dec 4, 2026 |
| macOS built-in SSH | Switch it on | Not yet | Dec 4, 2026 |
| Pushin.eu | Partly | Switch it on | Dec 5, 2026 |
Questions people ask
Is macOS built-in SSH quantum-safe?
Not by default: the ssh command built into macOS supports post-quantum key exchange, but macOS's own settings put classical ECDH first, so connections can stay classical even when the server offers post-quantum. A one-line change in your SSH config fixes it.
Does macOS built-in SSH use post-quantum encryption by default?
No. macOS built-in SSH offers post-quantum protection, but you have to switch it on. Terminal's ssh, git over SSH and anything else that uses macOS's built-in OpenSSH client.
What should I do to stay protected on macOS built-in SSH?
Add this line at the very top of ~/.ssh/config, above any Host blocks: KexAlgorithms ^mlkem768x25519-sha256,[email protected] Then check with: ssh -v yourserver true 2>&1 | grep "kex: algorithm". It should show mlkem768x25519-sha256 or sntrup761x25519-sha512.
Are macOS built-in SSH logins and certificates quantum-safe?
Not yet. Logins and identity checks on macOS built-in SSH still use classical signatures. That is less urgent than encryption: a signature cannot be broken after the fact, so it only has to change before large quantum computers exist.
Sources
- Sudolabs: Fixing macOS SSH post-quantum key exchange (December 3, 2026)
See all 101 apps and services Which developer platforms are quantum-safe?
