What is mlkem768x25519-sha256?

mlkem768x25519-sha256 is an SSH key exchange method that combines ML-KEM-768 with X25519 and SHA-256, defined in RFC 10042. This page explains what it is, where it appears and what it means for a migration.

On this page

What is mlkem768x25519-sha256 and who meets it?

mlkem768x25519-sha256 is an SSH key exchange method name. It combines ML-KEM-768, the post-quantum key encapsulation mechanism specified in FIPS 203, with X25519 (Curve25519), a classical elliptic curve key exchange, and uses SHA-256 for key derivation. The method is defined in section 2.3.3 of RFC 10042, an Informational RFC from the IETF sshm working group published in August 2026. RFC 10042 states it is not an Internet Standards Track specification. Before publication, the same method was specified in the Internet-Draft draft-ietf-sshm-mlkem-hybrid-kex.

Engineers meet this name in three places: the KexAlgorithms line in sshd_config and ssh_config, the key exchange algorithm shown in ssh -v output or server logs, and the method listed in scanner reports and vendor answers to post-quantum questionnaires. A scanner or vendor that reports only a bare "post-quantum" label should be asked for the exact method name, since sibling names such as mlkem768nistp256-sha256 and sntrup761x25519-sha512 use different primitives and hashes.

In the SSH transport layer defined by RFC 4253, key exchange happens after the initial algorithm negotiation. Each side sends its list of supported key exchange methods, the client's preference order wins among mutually supported options, and both sides disconnect if no compatible set exists. The hybrid method is one entry in that list. In the exchange, the client sends its ML-KEM-768 public key followed by its X25519 public key, and the server replies with the ML-KEM-768 ciphertext followed by its X25519 public key. The server host key then signs the exchange hash, and that signing algorithm is negotiated separately from the key exchange.

For migration planning, the practical checks are whether your OpenSSH version offers this method and whether it is enabled by default in your build, and whether the hybrid messages, which RFC 10042 says may exceed minimum SSH packet sizes, cause problems with middleboxes or constrained clients. Confirm exact support against the OpenSSH release notes and your vendor's documentation rather than assuming it, and note that the OpenSSH project treats key agreement and signature keys as separate priorities.

Which names and identifiers refer to this method?

This table lists the full method identifier, its components, its defining document and its sibling identifiers from the same RFC. Read the rows to see what each name pairs, and check the sibling rows before assuming two identifiers are interchangeable. RFC 10042 gives no numeric byte sizes for the ML-KEM-768 public key or ciphertext, so confirm those figures in FIPS 203 and your implementation.

Identifier or itemWhat it pairs or refers toSource or status
mlkem768x25519-sha256Full SSH key exchange method name combining ML-KEM-768, X25519 and SHA-256Defined in section 2.3.3 of RFC 10042
ML-KEM-768Post-quantum key encapsulation component, as specified in FIPS 203Named in RFC 10042 for the post-quantum part
X25519Classical elliptic curve Diffie-Hellman component, also called Curve25519Follows the curve25519-sha256 method of RFC 8731
SHA-256Hash function used in the key derivation and exchange hashPart of the method name
RFC 10042Defining document: Informational RFC from the IETF sshm working group, August 2026Title: Post-Quantum/Traditional Hybrid Key Exchange with the Module-Lattice-Based Key-Encapsulation Mechanism for Use in SSH
draft-ietf-sshm-mlkem-hybrid-kexEarlier Internet-Draft name for this method, before RFC 10042 was publishedSuperseded by RFC 10042
mlkem768nistp256-sha256Sibling method pairing ML-KEM-768 with NIST P-256 and SHA-256Defined in RFC 10042
mlkem1024nistp384-sha384Sibling method pairing ML-KEM-1024 with NIST P-384 and SHA-384Defined in RFC 10042
ML-KEM-768 byte sizesPublic key and ciphertext lengths are not given as numbers in RFC 10042Confirm sizes in FIPS 203 and your implementation

Where do practitioners meet mlkem768x25519-sha256?

The name turns up in SSH software releases, configuration files, scanner reports, vendor documents, the RFC that defines it, and audit questions. Each place answers a different question, so check the one you are looking at against the others before drawing a conclusion about a host or product.

OpenSSH client and server

OpenSSH 9.9 added mlkem768x25519-sha256 as a hybrid key exchange, and OpenSSH 10.0 made it the default key agreement algorithm. Client and server both need to be at a version that offers it, and the negotiated result is what counts, not the version alone. Check the version on each side of a connection, then confirm the algorithm in an actual session.

OpenSSH release notes

sshd and ssh key exchange lists

Key exchange is negotiated from ordered lists. The client's preference order wins among mutually supported methods, so a server that offers the method does not guarantee it is used. Look for KexAlgorithms in sshd_config and ssh_config, and check whether an override removes or reorders the post-quantum entry. Confirm the effective list with the tools in your own environment rather than relying on the file alone.

RFC 4253 text

SSH scanner output

Scanners report the key exchange methods a server advertises, which is a different fact from the method a given session negotiates. A scan that lists mlkem768x25519-sha256 shows what the server offers, while a client that prefers another method may still never use it. Record the scanner version and the scan settings, and treat results as a snapshot of one host at one time.

Vendor and product key exchange lists

Vendor documents often list the SSH key exchange methods a product supports. Read whether the list is for the server, the client or a bundled library, and whether the entry is enabled by default. Ask for the exact product version the list covers, since a list written for one release may not match a later one.

RFC 10042 itself

RFC 10042 defines mlkem768x25519-sha256 in section 2.3.3 and describes how the hybrid messages are built from ML-KEM-768 and X25519. It is an Informational RFC, not an Internet Standards Track specification, so it documents a method rather than setting a mandate. Read section 3 for the note that the hybrid messages may exceed minimum SSH packet sizes, and check the RFC against any implementation you are reviewing.

RFC 10042 text

Audit and tender questions on SSH

Audit questionnaires and tenders increasingly ask which SSH key exchange methods are in use and whether any post-quantum method is negotiated. Answer with evidence from your own sessions and configuration, such as the negotiated algorithm and the effective server and client lists. Note that a listed method is not a certification, and that signatures and host keys are covered by separate questions.

What does this method do in an SSH session?

mlkem768x25519-sha256 is a key exchange method, so it decides how the client and server agree on the shared secret that protects the rest of the SSH session. It does this by combining two key agreements in one exchange: the classical X25519 (Curve25519) key exchange and the post-quantum ML-KEM-768 key encapsulation mechanism from FIPS 203. The two parts run together, and the resulting secret is derived from both contributions, so the session stays protected if either part holds. The method name fixes this pairing and specifies SHA-256 as the hash used in the derivation. Confirm in your own configuration that the server and client both list this method, since the method only applies when both sides offer it.

The message flow has two steps. In the first, the client sends its initial message containing the ML-KEM-768 public key followed by the X25519 public key, which RFC 10042 writes as C_INIT = C_PK2 || C_PK1. The server then replies with the ML-KEM-768 ciphertext followed by its own X25519 public key, written as S_REPLY = S_CT2 || S_PK1. Each side combines its own material with what it received to derive the shared secret. RFC 10042 does not state byte sizes for these fields, so check the sizes in a packet capture or in the implementation you run rather than assuming them. The hybrid messages are larger than classical key exchange messages, and RFC 10042 says they may exceed the minimum SSH packet sizes without defining new behavior for that case.

The server's host key still does its usual job. As RFC 4253 section 8 describes, the server host key signs the exchange hash, and the signing algorithm is negotiated during the algorithm exchange. This method changes how the secret is agreed, but it does not change host key authentication, so the host key remains a classical key unless you configure a different one. Note that the OpenSSH project page says signatures do not carry the same store-now-decrypt-later risk as key agreement, and that OpenSSH will add post-quantum signature support in the future without naming algorithms or versions. Plan host key and signature work as a separate item from key exchange.

Is mlkem768x25519-sha256 standardized, and who has adopted it?

mlkem768x25519-sha256 is defined in RFC 10042, which was published in August 2026 as an Informational RFC. RFC 10042 states that it is not an Internet Standards Track specification, so readers should not describe it as an IETF Internet Standard. It was previously specified as the Internet-Draft draft-ietf-sshm-mlkem-hybrid-kex from the sshm working group. The method's classical half follows the curve25519-sha256 method in RFC 8731, and its post-quantum half is ML-KEM-768 as specified in FIPS 203. When a vendor or tender says a product supports this method, ask which document version it implements and whether it follows the published RFC or the earlier draft.

The clearest adoption record in the sources is OpenSSH. OpenSSH 9.9, released on 2024-09-19, added mlkem768x25519-sha256 as a hybrid key exchange based on FIPS 203 and made it available by default. OpenSSH 10.0, released on 2025-04-09, made it the default key agreement algorithm. The OpenSSH project page also says OpenSSH has enabled post-quantum key agreement by default since version 9.0, first with sntrup761x25519-sha512. Readers running their own OpenSSH should confirm the exact version they deploy and check its release notes rather than relying on the default alone.

The sources do not name other products or standards bodies that require mlkem768x25519-sha256, so do not treat it as mandated by any named product, regulator or procurement rule. RFC 4253 remains the SSH transport definition, and the method is negotiated within that framework. For a vendor review, ask whether the product offers mlkem768x25519-sha256, which version added it, and whether it is enabled by default in the configuration you will run. Confirm interoperability with your specific client and server versions before assuming it.

What should a migration team check for this method?

The sequence below turns mlkem768x25519-sha256 from a name in a config file into a verified, documented part of your SSH estate. It confirms which servers and clients offer it, checks what they actually negotiate, and surfaces the larger hybrid messages and logging behavior your team needs to account for. Each step ends with an output your team can record and show to a reviewer or vendor.

  1. Inventory SSH servers and clients by version

    Collect every SSH server and client in scope and record its OpenSSH version, or the product name and version for non-OpenSSH implementations. Run ssh -V on the client and sshd -V on the server where those commands are available, and record the result against the host or application it belongs to. Include appliances, bastion hosts, automation runners and any embedded or vendor-managed SSH endpoints, since these often lag behind the OS packages. The step is done when every endpoint has a version recorded and the list has an owner for each row. Version alone does not tell you what is negotiated, so the next step checks that.

  2. Record the key exchange list each side offers

    For each endpoint, capture the key exchange algorithms it offers, using ssh -Q kex on the client and the KexAlgorithms setting in sshd_config on the server, or the effective value from sshd -T. Note whether mlkem768x25519-sha256 appears at all and whether the configuration overrides the defaults, because a pinned KexAlgorithms line can remove a method that the version would otherwise offer. Store the output with the host inventory. The step is done when each endpoint has a recorded kex list and a yes or no for this method. The OpenSSH project states that post-quantum key agreement has been on by default since version 9.0, but a local override can still change what is offered.

  3. Confirm which method is offered or preferred

    Using the kex lists from the previous step, determine whether mlkem768x25519-sha256 is offered by each side and where it sits in the preference order. SSH negotiation works from the client's list: among mutually supported methods, the client's preference order wins, so a method listed first by the client is the one that is chosen when both sides support it. Test this with a verbose connection, for example ssh -vv, and read the negotiated kex line in the output. The step is done when you have a pair-by-pair record of offered and negotiated methods for representative connections. If a connection negotiates a different method than you expected, record it as a finding rather than assuming the list is the outcome.

  4. Plan for larger hybrid key exchange messages

    Hybrid key exchange sends more data than a classical exchange, because the ML-KEM-768 public key and ciphertext are carried alongside the X25519 values. RFC 10042 section 3 says these hybrid messages may exceed the minimum SSH packet sizes, and it does not define new behavior for that case. Ask your SSH implementation owners how their stacks handle oversized key exchange packets, and list any devices, proxies or load balancers in the path that inspect or resize SSH traffic. RFC 10042 does not give numeric byte sizes for the ML-KEM-768 public key or ciphertext, so take the figures from the implementation documentation or from captured traffic in your own environment. The step is done when the path has been reviewed and each component that handles SSH is named with its owner.

  5. Test connections and any middleboxes in the path

    Run connection tests between each client and server pair that will use the method, and include the paths that pass through firewalls, deep packet inspection, SSH gateways or session recording tools. A successful direct connection does not prove that a middlebox passes the hybrid exchange, so test through the same path your production traffic uses. Record the negotiated method, whether the session established, and any disconnects or errors with their message text. Where a connection fails, check whether the failure is a missing method, an unsupported packet size or a rejected exchange, and note which device logged it. The step is done when each tested path has a pass or fail result and each failure has a recorded cause or an open ticket.

  6. Review WarnWeakCrypto logging on clients and servers

    Check how each endpoint reports connections that use a key agreement method that is not post-quantum safe. OpenSSH 10.1 added a client warning controlled by the WarnWeakCrypto option in ssh_config, which defaults to on. OpenSSH 10.6 has sshd log when a client uses a non-post-quantum key agreement scheme, under a WarnWeakCrypto option in sshd_config. Confirm the version on each host supports these options, decide whether the defaults are what your policy requires, and confirm that the log output reaches your collection system. Use the logs to find classical-only clients still connecting to servers you plan to change. The step is done when you can show a test connection producing the expected warning or its absence, and the log destination is confirmed.

  7. Ask vendors about support and version

    For each commercial SSH server, appliance, managed service or client that your inventory marks as unclear or unsupported, send a written question asking whether it supports mlkem768x25519-sha256, in which version, and whether it is enabled by default. Also ask whether the product logs the use of non-post-quantum key agreement, and how a configuration change would be verified. Request the answer in writing and keep it with the inventory, because the answer determines whether a version upgrade or a compensating control is needed. Vendor answers should name the product and version, and any answer that is not specific should be followed up. The step is done when every open item has a written vendor answer or a recorded escalation.

Which mix-ups do reviewers make with this name?

The name mlkem768x25519-sha256 is long, and its parts look close to other SSH key exchange names. Reviewers most often confuse it with a neighboring hybrid method, with a classical method, with the security of host authentication, with a different ML-KEM parameter set, and with a draft name that has since been replaced. Each card below shows what to check before accepting a vendor claim or writing a tender requirement.

Same as sntrup761x25519-sha512

The two names share the X25519 part and the hybrid idea, but they are different methods. mlkem768x25519-sha256 uses ML-KEM-768 as its post-quantum component and SHA-256 as its hash. sntrup761x25519-sha512 uses the Streamlined NTRU Prime sntrup761 and SHA-512, and it is defined in RFC 9941. RFC 10042 says its message abstraction and key derivation align with RFC 9941, but the KEM and the hash still differ. When a scanner or configuration lists one of them, do not read it as the other. Check the exact string in the output, since a server may offer both.

RFC 10042

Treating curve25519-sha256 as post-quantum

The classical method curve25519-sha256 is defined in RFC 8731 and uses X25519 with SHA-256, but it has no post-quantum component. The hybrid name adds ML-KEM-768 next to the same X25519 public key, so only the hybrid method provides a post-quantum element in the key exchange. A reviewer who sees curve25519-sha256 in a configuration has found a classical method, even though the name looks similar. Ask whether the connection negotiates the hybrid name, not only whether X25519 appears in the list.

RFC 8731

Assuming post-quantum host authentication

A vendor listing mlkem768x25519-sha256 describes key exchange, which protects the session keys. It does not by itself describe the server host key or the signatures that authenticate the server. RFC 4253 says the host key signs the exchange hash, and the signing algorithm is negotiated separately. The OpenSSH project page says signatures do not carry the same store-now-decrypt-later risk as key agreement, and that post-quantum signature support will come later without naming algorithms or versions. Ask the vendor which host key types it uses and whether those keys are post-quantum.

OpenSSH PQ page

Mixing up ML-KEM-768 and ML-KEM-1024

The name carries the parameter set in its middle part, so ML-KEM-768 appears in mlkem768x25519-sha256 and mlkem768nistp256-sha256. The sibling method mlkem1024nistp384-sha384 uses ML-KEM-1024 with NIST P-384 and SHA-384, so it is a different combination of KEM, curve and hash. Reviewers should not assume a higher number means a stronger or interchangeable choice without checking the method name. Confirm the exact method the server negotiates, and the parameter set it uses, against the vendor documentation for your version.

RFC 10042

Using the Internet-Draft name in tenders

Before RFC 10042 was published in August 2026, the method was specified in the Internet-Draft draft-ietf-sshm-mlkem-hybrid-kex. An Internet-Draft is a working document and is not a published RFC, so a tender that cites the draft name may point to text that has since changed or been replaced. RFC 10042 is an Informational RFC, not an Internet Standards Track specification. Tender language should cite RFC 10042 and the method name, and ask suppliers to state the OpenSSH version or product release they support, since defaults differ by version.

RFC 10042

What do people ask about mlkem768x25519-sha256?

What does mlkem768x25519-sha256 stand for?

It is the name of an SSH key exchange method that combines two key agreement algorithms and a hash. The mlkem768 part is ML-KEM-768, the post-quantum key encapsulation mechanism specified in FIPS 203. The x25519 part is the classical X25519 (Curve25519) key exchange. The sha256 part is the SHA-256 hash used in key derivation. RFC 10042, section 2.3.3, defines the method. Because it is hybrid, the connection's secret is derived from both the post-quantum and classical exchanges, so a reader can check each component separately in the specification.

Is mlkem768x25519-sha256 the same as an older draft name?

The sources say it was specified earlier in the Internet-Draft draft-ietf-sshm-mlkem-hybrid-kex from the sshm working group. RFC 10042, published in August 2026, is the later document that defines the method. Draft names are not final, so a reference to the draft may describe the same method with different details. Confirm which document a vendor or scanner cites, and check the method name against the RFC before treating two documents as describing identical behavior.

Is mlkem768x25519-sha256 standardized, and by whom?

RFC 10042 was published by the IETF sshm working group in August 2026. Its authors are P. Kampanakis, D. Stebila and T. Hansen. The RFC is an Informational document, and it states that it is not an Internet Standards Track specification. The ML-KEM-768 component is specified by NIST in FIPS 203. Because the RFC is Informational, do not describe the method as an IETF Internet Standard. For procurement or audit records, cite RFC 10042 by number and status as written.

Does OpenSSH use mlkem768x25519-sha256 by default, and since when?

Yes, in the versions the sources cover. The OpenSSH release notes say that version 9.9, released 2024-09-19, added mlkem768x25519-sha256 as a hybrid key exchange based on FIPS 203. The OpenSSH project page says mlkem768x25519-sha256 became the default in version 10.0, released April 2025, and the release notes give the date as 2025-04-09. Earlier OpenSSH versions had a different default, and the post-quantum default history began with version 9.0 in April 2022. Check your own build with ssh -Q kex, because distribution packages may differ from upstream.

What changes for existing SSH connections?

Negotiation determines the result, not the method alone. SSH peers send ordered lists of supported algorithms, and the client's preference order wins among options both sides support, per RFC 4253. If both peers support mlkem768x25519-sha256 and it is ranked first, new connections use it. Hybrid messages are larger than classical ones, and RFC 10042 section 3 says they may exceed the minimum SSH packet sizes without defining new behavior, so test connections through firewalls, load balancers and older clients. OpenSSH 10.1 added a client warning for non-post-quantum key agreement, controlled by WarnWeakCrypto, and version 10.6 added server-side logging of the same condition.

Does mlkem768x25519-sha256 change host keys or certificates?

The sources describe a key exchange method, not a new host key type. RFC 4253 section 8 says the server host key signs the exchange hash and that the signing algorithm is negotiated separately. The OpenSSH project page says signatures do not carry the same store-now-decrypt-later risk as key agreement, and that OpenSSH will add post-quantum signature support in the future without naming algorithms or versions. Choosing mlkem768x25519-sha256 therefore does not, on the facts given, replace existing host keys or SSH certificates. Confirm the host key and certificate algorithms your server offers with your own configuration and scanner output.

What should I ask a vendor about mlkem768x25519-sha256?

Ask a vendor for these specifics, each tied to a version:

  • Which OpenSSH or SSH implementation version ships the method, and whether it is enabled by default.
  • Whether mlkem768x25519-sha256 is in the negotiated list in their configuration, and whether WarnWeakCrypto is set.
  • Which document the implementation follows, for example RFC 10042, and whether it is the Internet-Draft or the published RFC.
  • Which host key and certificate algorithms are offered, and whether any post-quantum signature support is planned.
  • How they test connections with the larger hybrid messages through their network path.

Record the answers with version numbers, because a vendor's build may differ from upstream OpenSSH.

Where can I check each claim on this page?

Every claim on this page can be checked against a primary source. The definition of mlkem768x25519-sha256 itself, including its composition of ML-KEM-768 with X25519 and SHA-256, its message flow, and its status as a non-Standards-Track specification, is set out in section 2.3.3 of RFC 10042. That document also covers the sibling methods, the note that the message abstraction aligns with RFC 9941, and the remark that the hybrid messages may exceed minimum SSH packet sizes. Read it first if you need to confirm what the name means in a configuration file or scanner output.

The classical half of the method and the framework it sits in are covered by two other RFCs. RFC 8731 registers the curve25519-sha256 method that the X25519 component follows, and it notes that this method is identical to the earlier privately defined curve25519-sha256@libssh.org. RFC 4253 defines the SSH transport layer, including how algorithm lists are negotiated, how the client's preference order decides between mutually supported options, and how the server host key signs the exchange hash. Check RFC 4253 when you need to understand why a server may or may not select this method, and check RFC 8731 when you need the classical curve details.

For the operational side, the OpenSSH release notes show when mlkem768x25519-sha256 was added (9.9), made the default (10.0), and accompanied by the WarnWeakCrypto warnings in 10.1 and 10.6. The OpenSSH post-quantum page describes the default history from version 9.0 onward and says that signature keys are handled separately from key agreement. Confirm the exact behavior of your own OpenSSH build, since defaults and warning options differ by version and by how the server is configured. RFC 9941, which covers sntrup761x25519-sha512, is the reference for the neighboring method and is not a source for this one.

How DeployOpen works on this

DeployOpen works on mlkem768x25519-sha256 as part of a self-hosted SSH estate inside the client's own infrastructure. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before any work starts.

How we scope

  • Inventory which SSH servers and clients negotiate mlkem768x25519-sha256 and which fall back to classical methods.
  • Confirm the OpenSSH versions in use, since 9.9 added the method and 10.0 made it the default.
  • Record in the written scope which host keys, sshd_config and ssh_config settings are in and out of scope.

How we build

  • Configure KexAlgorithms ordering on the client and server sides and test that the hybrid method is selected.
  • Check that the larger hybrid messages pass through the bastions, proxies and firewalls in the client's network.
  • Enable WarnWeakCrypto logging where the client's OpenSSH version supports it, and verify the warnings appear.

How we hand over

  • Deliver a written record of each configuration change, the OpenSSH version it was tested on, and the test results.
  • Document the negotiated method per host group so the client's security team can review the result themselves.
  • Provide a list of hosts still using classical-only key exchange, with the reason each one remains unchanged.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer for the SSH estate.
  • Retesting after OpenSSH upgrades, since default behavior has changed between releases and should be checked each time.
  • Confirm with the client's own vendors and the OpenSSH release notes before relying on any signature-key changes.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.