Why are we updating this guide now?
On 2 December 2026 the NSA, CISA and the Office of the National Cyber Director said that AI companies had disclosed discoveries affecting the security of some cryptography in use today, and the NSA urged operators of national security systems to accelerate their post-quantum migration immediately. The same agencies also said the advances do not present an immediate and widespread threat. Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle issued a joint statement backing the guidance and asking organisations to move as soon as possible.
Part of the background is a set of papers Anthropic published on 30 November describing a new quantum attack on structured lattices, the family of maths behind ML-KEM and ML-DSA. The independent cryptographers who reviewed it said the attack needs vastly more computation than the best known attacks on the deployed standards, and the NSA kept ML-KEM and ML-DSA at the centre of its guidance. Several of those reviewers recommended hybrid schemes that combine different mathematical foundations. That is the approach this guide already takes: mlkem768x25519-sha256 pairs ML-KEM with X25519, so a session stays protected unless both halves are broken.
Nothing in the original commands or KexAlgorithms configuration has stopped working. Four things have changed since April, and the first two matter most.
Can SSH host and user keys be post-quantum now?
Yes, in a hybrid form, from OpenSSH 10.6. The original guide said post-quantum key exchange does not make authentication keys post-quantum. That was accurate in April, and it still describes the Ed25519 and RSA keys that most estates run today.
- OpenSSH 10.4, released in July 2026, added a hybrid ML-DSA-44 plus Ed25519 signature scheme as an experimental option, off by default, under the name
ssh-mldsa44-ed25519@openssh.com. - OpenSSH 10.6, released on 6 October 2026, enables the hybrid
ssh-mldsa44-ed25519signature algorithm. The name dropped its@openssh.comsuffix, so any keys created with the experimental 10.4 support must be regenerated or removed. - The standard is still a draft. Damien Miller's "Post-Quantum Composite Signatures in SSH" was adopted by the IETF sshm working group in August 2026 as
draft-ietf-sshm-composite-sigs, aimed at the Standards Track. It also defines an ML-DSA-87 plus P-384 variant.
Signatures and key exchange protect against different threats. A recorded session can be decrypted later if its key exchange is broken, which is why key exchange comes first. A signature only has to hold at the moment of login, so a quantum-capable attacker would need to exist on the day they want to impersonate a host or user. That makes signatures less urgent, but long-lived host keys and CA keys are slow to replace, so it is worth starting a pilot now.
# OpenSSH 10.6 or later: check the algorithm is available
ssh -Q key | grep mldsa
# Generate a hybrid user key alongside the existing Ed25519 key
ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa44_ed25519
# Built with 10.4 experimental support? Regenerate it on 10.6
Hybrid key exchange is ready for production now, and hybrid signatures are not there yet. Keep Ed25519 host keys and user keys in service. On pilot hosts, add a hybrid host key next to the Ed25519 one so that 10.6 clients can use it and older clients carry on as before. Hold back on CA-signed certificates and hardware tokens until the draft settles and the surrounding tooling supports the new key type.
How can non-post-quantum SSH connections be found?
From OpenSSH 10.6, read the sshd logs. The original guide recommended monitoring for fallbacks to classical-only key exchange. OpenSSH 10.1 added a client-side warning controlled by WarnWeakCrypto in ssh_config. OpenSSH 10.6 adds the same option to sshd_config and turns it on by default, so the server logs every client that negotiates a key exchange that is not post-quantum safe.
# On a 10.6 server, list recent non-PQ clients (adjust the pattern to the exact log text on the build in use)
journalctl -u ssh -u sshd --since "7 days ago" | grep -iE 'quantum|WarnWeakCrypto'
Sending these entries to the existing log platform with a per-host alert produces a list of clients and automation accounts that still need upgrading, without deploying extra agents. Servers older than 10.6 do not log this, which is another reason to upgrade bastions and jump hosts first, as the original guide suggested.
Is the ML-KEM SSH key exchange a standard now?
It has an RFC number. The IETF draft referenced in the original guide was published in August 2026 as RFC 10042, "Post-Quantum/Traditional Hybrid Key Exchange with the Module-Lattice-Based Key-Encapsulation Mechanism for Use in SSH". It is an Informational RFC, not an Internet Standard, but it gives procurement and audit teams a stable reference. It defines mlkem768x25519-sha256 along with two NIST-curve variants, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384.
Which Linux releases default to post-quantum SSH?
Current releases of Ubuntu and RHEL default to hybrid ML-KEM, so the remaining gap is older LTS releases. The original advice to upgrade first still applies, but in most estates that now means a distribution upgrade rather than a custom OpenSSH build.
| Release | OpenSSH | Default key exchange | Status |
|---|---|---|---|
| Ubuntu 26.04 LTS | 10.2p1 | mlkem768x25519-sha256, warns on non-PQ connections | PQ, ML-KEM |
| RHEL 10.1 and later | 9.9 | mlkem768x25519-sha256 via the DEFAULT crypto policy | PQ, ML-KEM |
| RHEL 10.2 in FIPS mode | 9.9 | mlkem768nistp256-sha256 or mlkem1024nistp384-sha384 | PQ, FIPS |
| Ubuntu 24.04 LTS | 9.6p1 | sntrup761x25519-sha512@openssh.com, no ML-KEM | PQ, not ML-KEM |
| RHEL 9.7 and later | 8.7 (Red Hat build) | Classical unless the DEFAULT:PQ policy is applied | Opt-in |
| Ubuntu 22.04 LTS | 8.9p1 | curve25519-sha256 | Classical |
On RHEL, set key exchange through system-wide crypto policies rather than hard-coding KexAlgorithms in sshd_config, because a hand-written list can override the policy and, in FIPS mode, name algorithms FIPS does not allow. The FIPS hybrids come from a Red Hat patch and are not in upstream OpenSSH, so test FIPS hosts against non-RHEL clients.
On RHEL 10.2, applications built on libssh also prefer mlkem768x25519-sha256 by default.
What about CNSA 2.0 and US federal requirements?
Customers with US national security or federal requirements should track the draft CNSA 2.0 profile for SSH. It specifies ML-KEM-1024 for key establishment and ML-DSA-87 for signatures, used on their own rather than as hybrids, so it is a different target from the hybrid defaults described here. It is an individual Informational draft, not an IETF standard.
Which OpenSSH version is the right target now?
For key exchange, the original baseline holds: OpenSSH 10.0 preferred, 9.9 minimum. For hybrid signatures and server-side fallback logging, plan for 10.6 or later. Before rolling 10.6 out, check three unrelated changes in that release:
- SSH compression is less effective, because the LZ77 dictionary coder is now disabled to close a side channel. Anything that relied on SSH compression over slow links may run slower.
- Usernames containing
$or\are rejected when given on the command line. Check automation that builds SSH commands from variables. scp -Rstill works but now prints a deprecation warning, so scripts that treat stderr output as failure may break.




