Summary
- RFC 10042 defines three SSH key-exchange methods that pair ML-KEM with P-256, P-384 or X25519. It is an IETF Informational RFC by Panos Kampanakis, Douglas Stebila and Torben Hansen.
- The hybrid server reply still carries a public host key and a signature. SSH then runs a separate user-authentication protocol, so key exchange, host identity and user identity need three distinct receipts.
- An AWS SFTP debug trace prints those layers one at a time: the hybrid KEX, the host-key algorithm and fingerprint, and later public-key user authentication. That trace is a better audit model than a single “quantum-safe SSH” badge.
Watch an SSH session come up in verbose mode and you can almost hear the marketing department losing the argument. One line announces the key-exchange algorithm. A few lines later, a different line names the server's host key and prints its fingerprint. Then, once fresh transport keys are live, a third line records how the human actually got in.
Three decisions. Three receipts. One connection that the slide deck keeps calling “quantum-safe.”
RFC 10042, published in August 2026, hardens exactly one of those decisions against a future cryptographically relevant quantum computer. Kampanakis, Stebila and Hansen define three hybrid methods — mlkem768nistp256-sha256, mlkem1024nistp384-sha384 and mlkem768x25519-sha256 — each welding an ML-KEM component to a traditional elliptic-curve exchange.
That is a real answer to harvest-now-decrypt-later risk. An adversary can hoard encrypted SSH traffic today and wait for the arithmetic to crack the classical key establishment tomorrow. The hybrid construction derives the session secret from post-quantum and classical contributions together, so neither family has to be trusted alone.
It is also one answer to one question.
The host key did not disappear
RFC 10042's message diagram makes the boundary almost impossible to miss. The client sends its post-quantum and traditional ephemeral public material. The server returns its ML-KEM ciphertext and traditional ephemeral public key — and also K_S, the server's public host key, plus a signature over the exchange hash.
The hybrid shared secret is a hash of the ML-KEM and classical secrets. The exchange hash covers that result, both sides' version and negotiation messages, the hybrid exchange values and the server host key. The server signs the hash with its host-key private key.
Those fields wire key exchange to server authentication without ever merging their jobs. The hybrid components mint fresh transport keys. The host-key signature tells the client which server is claiming the transcript. The client still has to decide whether that key belongs to the host it meant to reach.
RFC 4253 draws the line before the hybrid messages even start. kex_algorithms and server_host_key_algorithms are different ordered lists inside SSH_MSG_KEXINIT. The chosen KEX must be compatible with a host-key algorithm both sides accept. No valid combination, no connection.
Trust does not fall out of good mathematics. A client may check the host key against a local database, a pinned fingerprint or a certificate chain. RFC 4253 permits acceptance without verification, then warns that doing so leaves the protocol open to active attack. A post-quantum contribution cannot repair an ignored host-key warning.
So the receipt for this layer needs more than the KEX name. It needs the selected host-key algorithm, the fingerprint or certificate, the trust source, the verification result and the rotation policy. If the host signature is still classical, the report should say so out loud. If the key changed without warning, a shiny hybrid transport secret is not permission to click through.
The user arrives after the transport
Then SSH asks the question in the opposite direction. The client has judged the server. Now the server must judge whether a named user may touch a service.
RFC 4252 defines that later authentication protocol above the transport layer. Public-key authentication is mandatory for implementations; password and host-based methods are optional, and extensions can add more. A public-key request carries a user name, service name, algorithm, key and signature. The server checks whether the key is acceptable for that user and may demand further authentication before it returns success.
This is not the same “public key” as the server host-key decision just because both involve signatures. The principals, key stores and policies are different animals. A host key authenticates the server to the client. A user key helps authenticate a user to the server. Account state, authorised-key files, identity-provider policy, multifactor requirements, command restrictions and SFTP directory permissions all live well beyond the KEX method name.
The distinction earns its keep during migration. An organisation can upgrade its SSH libraries and preference lists so clients negotiate an RFC 10042 method while leaving host signatures and user credentials untouched. That can be a perfectly rational sequence. It turns misleading only when the first finished stage gets credit for the other two.
A production trace with three columns
An AWS Security Blog post on hybrid SFTP hands you a concrete receipt anatomy. Its original 2023 example used pre-standardisation Kyber method names. A 5 September 2025 update says two AWS Transfer Family security policies moved to ML-KEM and lists the same three method names later published in RFC 10042.
The older trace should not be sold as an RFC 10042 session. Its value is structural. The debug output names a hybrid KEX, separately reports ssh-ed25519 as the host-key algorithm and prints the host fingerprint. Only later does it say the endpoint authenticated the user with publickey and opened the SFTP session.
That ordering turns an abstract standards boundary into an operator checklist:
- Which hybrid method did the two endpoints actually negotiate?
- Which host key signed the exchange, and why did the client trust it?
- Which user method succeeded, for which account, under which authorization policy?
The first line cannot answer the second or third. The final “connected” line proves a channel opened; it still does not prove every file permission, storage control, audit record or recovery path.
The update is also a reminder that migration has a software lifecycle. Experimental Kyber names gave way to standardised ML-KEM names. Clients and servers do not upgrade in perfect lockstep. Preference order, compatibility fallback, library version and policy selection decide which method runs on any given connection. An IANA row marked SHOULD is an interoperability coordinate, not a census.
Kampanakis and the useful limit of a standard
Amazon Science describes Kampanakis as a principal security engineer at AWS working across applied cryptography, security automation and standards. In a 2023 AWS profile he argued for inventorying asymmetric cryptography, testing post-quantum effects in use cases including SSH, and designing for algorithm agility. He also stressed the distance between a controlled proof of concept and long-term support at scale.
That biography explains why RFC 10042 is operationally useful, but it must not erase the collective work. Stebila and Hansen are co-authors. The RFC credits implementation and review contributions from AWS, OpenSSH, PuTTY and others. NIST standardised ML-KEM. The IETF process and the IANA registry supply the shared wire coordinates.
The useful limit is the achievement. RFC 10042 standardises a narrow exchange: its combiner, encodings, validation checks, method names and failure behaviour. It requires fresh ephemeral keypairs for every connection, forbids ML-KEM ciphertext-randomness reuse and specifies abort conditions for malformed lengths or failed decapsulation. Those details turn a vague migration intention into something implementers can test against each other.
It does not have to standardise every trust store, account database, endpoint policy and recovery procedure to be worth having. Lu Heng's Minimum Initial Specification principle favours exactly this kind of boundary: define the smallest interoperable mechanism, then leave future deployment choices with the parties that run the systems.
Running-Code Primacy supplies the audit rule. Record the observed result, not the declaration. For SSH that means client and server versions; offered and selected KEX lists; host-key algorithm and fingerprint; trust decision; cipher and MAC; SSH_MSG_NEWKEYS; user-authentication method; authorization result; channel or subsystem opened; rekey; fallback; failure; and the blind spots of the probe.
Three receipts do not diminish the hybrid exchange. They stop its success from hiding unfinished work. RFC 10042 gives operators a stronger first column. A mature report keeps the other two columns visible until their own evidence arrives.
Sources
- RFC 10042 — ML-KEM hybrid key exchange for SSH
- RFC 4251 — The Secure Shell Protocol Architecture
- RFC 4252 — The Secure Shell Authentication Protocol
- RFC 4253 — The Secure Shell Transport Layer Protocol
- RFC 9794 — Terminology for post-quantum/traditional hybrid schemes
- RFC 9941 — Hybrid Streamlined NTRU Prime and X25519 for SSH
- NIST FIPS 203 — Module-Lattice-Based Key-Encapsulation Mechanism Standard
- IANA — Secure Shell protocol parameters
- IETF Datatracker — Panos Kampanakis
- Amazon Science — Panos Kampanakis
- AWS Security Profile — Panos Kampanakis
- AWS — Post-quantum hybrid SFTP with Transfer Family
- AWS — Customer responsibility during the post-quantum migration
- Lu Heng — Running-Code Primacy
- Lu Heng — Minimum Initial Specification
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






