OpenSSH 10.1 now warns users whenever a session negotiates a key agreement scheme that is not post-quantum. The warning targets “store now, decrypt later” collection of encrypted SSH traffic, in which an adversary records ciphertext today and decrypts it once a cryptographically relevant quantum computer exists.
OpenSSH has shipped hybrid post-quantum key encapsulation since release 9.0 in April 2022. The first scheme was sntrup761x25519-sha512, which pairs the NTRU Prime lattice construction with classical X25519 elliptic-curve Diffie-Hellman. OpenSSH 9.9 added mlkem768x25519-sha256, and OpenSSH 10.0 made it the default in April 2025.
The current client default KexAlgorithms list puts mlkem768x25519-sha256 first. Next come sntrup761x25519-sha512 and its @openssh.com alias, then curve25519-sha256, the ECDH NIST curves and finite-field Diffie-Hellman groups as fallbacks.
OpenSSH 10.1 Warns on Non-Post-Quantum Key Exchange
A server that offers none of the hybrid schemes forces the client onto a classical exchange. That is the case that now triggers the warning.
The OpenSSH project says an SSH session’s confidentiality rests on key agreement. An attacker who breaks that exchange can decrypt the full session, including credentials, tunneled traffic, and file transfers. Because the attacker can do this offline, the capture can happen long before the break.
Shor’s algorithm running on a cryptographically relevant quantum computer would solve the discrete logarithm and integer factorization problems behind ECDH, X25519, RSA and finite-field Diffie-Hellman.
OpenSSH notes that estimates for such a machine range from 5 to 20 years, and many observers expect the mid-2030s. NIST’s transition guidance, NIST IR 8547, plans to deprecate and remove quantum-breakable algorithms from its standards by 2035. High-risk systems are expected to move sooner.
Hybrid design limits the risk of adopting new algorithms. Both OpenSSH schemes combine a post-quantum KEM with a classical exchange. For example, mlkem768x25519-sha256 pairs ML-KEM (FIPS 203) with X25519. The derived session key is therefore no weaker than the previous classical default, even if the lattice component later falls to cryptanalysis.
That risk got fresh attention this week. Cloudflare reported on December 1, 2026 that Anthropic had published theoretical quantum algorithms for the Module-LWE and Module-SIS problems underlying ML-KEM and ML-DSA.
Cloudflare concluded the work does not affect deployed cryptosystems, since the attacks need quantum hardware that does not exist and would run orders of magnitude slower than the best classical attacks. It also reported that 73% of human traffic to its network is already post-quantum encrypted.
Recent AI-driven cryptanalysis shows the same pattern of renewed scrutiny. Anthropic’s Claude AI cracked the HAWK post-quantum signature scheme in a reduced-security analysis, and the same research reported a 200-800x speedup against round-reduced AES.
Neither result affects deployed systems, but both argue for crypto-agility and hybrid constructions rather than reliance on a single primitive.
The OpenSSH project separates key agreement from authentication. RSA and ECDSA signatures can also be broken by a quantum computer, but forging them requires the attacker to hold a quantum machine at the time of the attack.
There is therefore no retroactive decryption risk for past traffic. The urgency is to retire classical signature keys before such machines arrive.
The current ssh_config manual already lists ssh-mldsa44-ed25519 in the default CASignatureAlgorithms, HostKeyAlgorithms and HostbasedAcceptedAlgorithms. It also lists id_mldsa44_ed25519 among the default identity files, which shows hybrid ML-DSA support is arriving in the client.
OpenSSH currently lists release 10.6 (October 6, 2026) and Portable OpenSSH 10.6p2 (November 5, 2026) as its latest versions.
The correct fix is on the server. Upgrade sshd to a release that supports at least one hybrid scheme: 9.0 or later for sntrup761x25519-sha512, or 9.9 or later for mlkem768x25519-sha256. If the server is already current, audit the KexAlgorithms directive in sshd_config, because a hardcoded list can silently remove the hybrid options.
Network appliances and embedded SSH stacks are the most likely sources of the warning, since they often run older or non-OpenSSH implementations.
This matters because SSH-reachable appliances are already a frequent attack target. Hard-coded credentials in HPE Networking COP exposed unauthenticated SSH admin access just this week. Inventory every SSH endpoint, record its negotiated key exchange with ssh -Q kex and verbose client output, and prioritize systems that carry long-lived secrets.
Where an upgrade is not possible, the warning can be scoped per host with the WarnWeakCrypto option in ssh_config(5), for example a Match host block that sets WarnWeakCrypto no-pq-kex.
OpenSSH recommends doing this selectively rather than globally. Hardening should also cover credential hygiene, as shown by an SSH bot that profiles server hardware before deploying cryptomining malware after brute-forcing weak root passwords.
FAQ
What triggers the OpenSSH 10.1 warning? The server did not offer mlkem768x25519-sha256 or sntrup761x25519-sha512, so the session fell back to classical key exchange.
Is traffic already at risk if quantum computers do not exist yet? Yes, because adversaries can record sessions now and decrypt them later once a cryptographically relevant quantum computer exists.
Can the warning be disabled? Yes, set WarnWeakCrypto no-pq-kex inside a Match host block in ssh_config(5), but upgrading the server is the intended fix.
Are the hybrid algorithms safe if the post-quantum component is broken? Yes, the hybrid design keeps X25519 in the exchange, so the result is no weaker than the previous classical default.