Early access. OpenSSH defaults are not a claim that every managed SSH gateway, appliance, or cloud jump host has caught up. Check the versions and KexAlgorithms you actually run.
SSH / OpenSSH PQ KEX
SSH Post-Quantum Key Exchange: sntrup and ML-KEM
OpenSSH has offered post-quantum SSH key exchange (KexAlgorithms) by default since OpenSSH 9.0 (April 2022), initially via sntrup761x25519-sha512. OpenSSH 9.9 added mlkem768x25519-sha256, and OpenSSH 10.0 (April 2025) made that the new default. Both are hybrids that combine a post-quantum algorithm with a classical one. OpenSSH 10.1 warns when a session selects a non-post-quantum key agreement, citing store-now-decrypt-later risk. Post-quantum signatures in SSH are a later, separate step; OpenSSH’s FAQ notes there is no analogous retrospective risk to already-recorded traffic from a future signature break the way recorded classical key agreement can be.
The two post-quantum KEX names
Per OpenSSH’s post-quantum page, the two hybrid key-agreement algorithms to know are sntrup761x25519-sha512 (default since OpenSSH 9.0) and mlkem768x25519-sha256 (added in 9.9; default in OpenSSH 10.0). Both combine a post-quantum component with classical X25519. ML-KEM here is the same family as NIST FIPS 203 ML-KEM; confirm wire names from OpenSSH and protocol docs, not from marketing blogs.
How to check — and what the 10.1 warning means
On a client you own, ssh -v shows the negotiated kex algorithm. On a server you administer, inspect offered KexAlgorithms (for example in sshd_config or the effective runtime config) and confirm the OpenSSH (or other SSH) version. OpenSSH 10.1 warns when a session lacks a post-quantum KEX, with language about vulnerability to “store now, decrypt later” attacks — meaning the peer did not offer mlkem768x25519-sha256 or sntrup761x25519-sha512. That is a negotiation signal, not a Saasment scan of your fleet.
Recorded classical-only SSH sessions sit in the same harvest now, decrypt later category OpenSSH is highlighting for key agreement.
Client and server version notes
OpenSSH 9.0+ can use sntrup; 9.9+ can use mlkem768x25519; 10.0 makes the ML-KEM hybrid the default; 10.1 adds the non-PQ KEX warning. That timeline is about OpenSSH releases — not a claim that every managed SSH product, cloud bastion, appliance firmware, or embedded agent has shipped matching defaults. Inventory client and server versions separately. Google Cloud documents post-quantum SSH practices for Compute; treat cloud and vendor docs as product-specific, not as proof your path is PQ end-to-end.
KEX is not host-key signatures
Post-quantum key exchange protects the session key agreement against the recorded- traffic threat model. Host authentication and user signatures are a different migration: OpenSSH says PQ signature algorithms come later, and that a future break of classical signatures does not retrospectively decrypt already-recorded sessions the way a broken key agreement can. Plan signature agility without conflating it with today’s KEX check. For TLS-side hybrid context, see hybrid TLS and OpenSSL 3.5 PQC.
How Saasment helps
Use these Security MCP skills on systems you own or are authorized to review: PQC SSH KEX review, and Harvest-now decrypt-later prioritization.
Saasment is early access and does not claim automated cryptography migration, or that it is a PQC vendor, HSM, or certificate authority. Browse the full Security MCP skills library.
In this cluster
- Post-quantum encryption hubWhat PQC means today.
- Quantum readiness checklistInventory cryptography, data lifetime, vendors, and hybrid TLS readiness.
- PQC migration planPhased migration with NIST, NCSC, and CNSA timelines labeled by source.
- Harvest now, decrypt laterWhy recorded traffic matters before a cryptographically relevant quantum computer exists.
- Hybrid TLS and X25519MLKEM768How hybrid TLS 1.3 key agreement works in practice.
- ML-KEM and NIST PQC standardsFIPS 203, 204, and 205: names, roles, and how they show up in TLS.
- ML-DSA and SLH-DSANIST’s post-quantum signatures (FIPS 204 and 205) and how they differ.
- Crypto agilityReplace algorithms in protocols and infrastructure without a rewrite.
- CBOM and crypto inventoryWhat a Cryptography Bill of Materials is and how a small team starts.
- PQC deadlinesCNSA 2.0, NIST IR 8547, EU, and NCSC clocks labeled by scope.
- PQC in AWS, Azure, GCP, CloudflareHow hybrid post-quantum TLS shows up at major clouds and CDNs.
- OpenSSL 3.5 PQCBuilt-in ML-KEM, ML-DSA, SLH-DSA, and hybrid TLS checks.
- PQC vs QKDWhat NSA and NCSC actually recommend about QKD.
Questions
I saw the OpenSSH 10.1 warning — what now?
OpenSSH 10.1 warns when the negotiated key agreement is not one of the post-quantum hybrids it recommends (mlkem768x25519-sha256 or sntrup761x25519-sha512). That usually means the peer did not offer those algorithms. Prefer updating the server (or client) to an SSH build that supports at least one of them. OpenSSH 9.0+ supports sntrup761x25519-sha512; 9.9+ supports mlkem768x25519-sha256. Confirm with ssh -v on hosts you own or are authorized to test; do not treat a single warning as proof about every appliance on your path.
Is sntrup761 still acceptable?
Yes as a post-quantum hybrid KEX that OpenSSH has shipped by default since 9.0. OpenSSH 10.0 made mlkem768x25519-sha256 the new default, but sntrup761x25519-sha512 remains a supported post-quantum option on the OpenSSH PQ page. Prefer what both ends negotiate cleanly; do not invent a claim that sntrup is deprecated by NIST FIPS text alone.
Are old recorded SSH sessions at risk?
Sessions that used classical-only key agreement can be stored now and decrypted later if that classical key agreement becomes breakable — the harvest-now / store-now-decrypt-later concern OpenSSH cites. Sessions that already used a hybrid post-quantum KEX are not in that same recorded-key-agreement category for the classical-only break. This page does not invent evidence of specific harvesting campaigns.
What about SSH signatures / host keys?
Post-quantum key exchange is not the same as post-quantum host-key or user signatures. OpenSSH’s FAQ says most classical signature algorithms (including RSA and ECDSA) can be broken by a future quantum computer, but there is no analogous store-now-decrypt-later risk to existing traffic from a future signature break. The urgency for signatures is retiring classical signature keys before cryptographically relevant quantum computers; OpenSSH expects PQ signature support later as a separate step.