checkmypqc.com

Home › Fix guides › Enable post-quantum SSH (mlkem768x25519-sha256) on libssh

Enable post-quantum SSH (mlkem768x25519-sha256) on libssh

How to offer the hybrid post-quantum key exchange mlkem768x25519-sha256 on libssh, from the vendor's documentation, checked on December 4, 2026.

Steps

  1. Check the requirements: libssh 0.12.0+.
  2. Apply the configuration below.
  3. Reload the service and check it again on checkmypqc.com.

Recommended now: post-quantum first, classical kept

libssh 0.12.0 offers and prefers hybrid post-quantum key exchange (sntrup761 and ML-KEM) with every crypto backend. 0.11 and older have none.

Later: require post-quantum

This refuses every client without ML-KEM, such as OpenSSH before 9.9 and many libraries. Check who connects before you switch.

This product cannot require post-quantum key exchange yet.

Vendor documentation: https://www.libssh.org/author/jjelen/page/3/ · checked December 4, 2026

Findings

After any change, check the service again. A change that never reaches the server (a load balancer or CDN in front, a configuration file that is not loaded) is the most common reason a fix does not show.

Updated December 4, 2026 · Open the interactive version

Related

Check your site

Free, no account: see in seconds whether browsers get post-quantum key exchange with your website or SSH server.

Check a service

Ask your AI assistant: checkmypqc.com runs a public MCP server at https://checkmypqc.com/mcp.