Post-quantum key exchange in SSH clients (2026)

Post-quantum key exchange in SSH clients is now common: OpenSSH has used a hybrid by default since 9.0 and switched to mlkem768x25519-sha256 in 10.0, and PuTTY, libssh, Go's x/crypto/ssh, Paramiko, AsyncSSH, Dropbear, wolfSSH, russh, JSch and Apache MINA SSHD all ship at least one hybrid method. The exception among the major libraries is libssh2, whose latest release (1.11.1) has none. Run ssh -Q kex to see what your client offers, and look for mlkem or sntrup in the kex: algorithm line of ssh -v.

Last checked: 24 November 2026. Every version below comes from the project's own release notes, changelog or release page, listed under Sources. Where those pages say nothing, the cell says "not documented".

Which SSH clients and libraries support post-quantum key exchange?

Two hybrid methods matter in practice. Both mix a post-quantum algorithm with classic X25519, so the session is at least as strong as today's default:

  • mlkem768x25519-sha256: ML-KEM-768 (NIST FIPS 203) with X25519. The default of OpenSSH 10.
  • sntrup761x25519-sha512: Streamlined NTRU Prime with X25519, first as sntrup761x25519-sha512@openssh.com. The default of OpenSSH 9.x.
Implementationsntrup761x25519mlkem768x25519-sha256Order by default
OpenSSH8.5 (March 2021), off by default; default from 9.0 (April 2022)9.9 (September 2024)ML-KEM first from 10.0 (April 2025)
OpenSSH for Windows (Win32-OpenSSH)10.0.0.0p2-Preview (October 2025)10.0.0.0p2-Preview (October 2025)Not documented
PuTTY0.78 (October 2022)0.83 (February 2025)Not documented
libssh0.12.0 (February 2026)0.12.0 (February 2026)Hybrids preferred from 0.12.0
libssh2Not documentedNot in a release; added to the development branch after 1.11.1Not documented
Go x/crypto/sshNot documentedv0.38.0 (May 2025), with Go 1.24ML-KEM listed first
ParamikoNot documented5.1.0 (October 2026), when the cryptography library exposes ML-KEMPreferred when available
AsyncSSH2.12.0 (August 2022), with liboqs2.18.0 (October 2024)Not documented
Dropbear2025.87 (March 2025)2025.87 (March 2025)Both enabled in the default build, sntrup first
wolfSSHNot documented1.5.0 (April 2026); mlkem768nistp256-sha256 from 1.4.21Not documented
russh (Rust)Not documented0.54.6 (November 2025)Not documented
JSch (mwiede fork)0.2.16 (January 2024), @openssh.com name0.2.22 (January 2025)Not documented
Apache MINA SSHD2.13.0 (June 2024), with Bouncy Castle2.15.0 (February 2025)Not documented

Other names show up too. PuTTY, libssh, JSch, Apache MINA SSHD and wolfSSH also offer ML-KEM with NIST curves (mlkem768nistp256-sha256, mlkem1024nistp384-sha384). OpenSSH 8.0 had an earlier experiment, sntrup4591761x25519-sha512@tinyssh.org, replaced in 8.5. Neither interoperates with a server that offers only the two methods above.

What did OpenSSH 10 change for post-quantum key exchange?

Three releases moved things along:

  1. OpenSSH 9.9 (September 2024) added mlkem768x25519-sha256, enabled by default but not yet first.
  2. OpenSSH 10.0 (April 2025): "the hybrid post-quantum algorithm mlkem768x25519-sha256 is now used by default for key agreement." sntrup761x25519-sha512 stays in the list after it.
  3. OpenSSH 10.1 (October 2025) made the client warn when a connection ends up with a classic method. The new WarnWeakCrypto option in ssh_config controls it, and it is on by default.

The warning looks like this:

** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html

It means the server, or a setting on either side, offered nothing post-quantum. The connection is still encrypted; the concern is traffic recorded now and decrypted once a large quantum computer exists. The fixes are in what the post-quantum warning means and how to fix it.

Which GUI and mobile SSH clients support post-quantum key exchange?

Desktop and mobile apps usually inherit support from the library inside them. These are the ones whose public changelog says so:

ClientFirst version with itWhat the notes name
WinSCP6.0 beta (February 2023) for NTRU Prime; 6.4.2 beta (January 2025) for ML-KEMPuTTY core upgrades
MobaXterm23.2 (June 2023) for NTRU Prime; 25.2 (May 2025) for ML-KEMNTRU Prime, ML-KEM
Termius9.25.0 (July 2025)mlkem768x25519-sha256
Tabby1.0.228 (October 2025)mlkem768x25519-sha256
Bitvise SSH Client9.51 (December 2025)mlkem768x25519-sha256, mlkem1024nistp384-sha384
ConnectBot (Android)1.10.0 (April 2026)ML-KEM
Blink Shell (iOS)18.7.0 (August 2026)Post-quantum key exchange through libssh 0.12

For other apps the public release notes do not mention it. That does not mean they lack it, only that you need to test, which takes a minute with the steps below.

How do you check what your SSH client negotiates?

First, see what your OpenSSH client can offer:

ssh -Q kex | grep -E 'mlkem|sntrup'

OpenSSH 10.3 on a Mac prints:

sntrup761x25519-sha512
sntrup761x25519-sha512@openssh.com
mlkem768x25519-sha256

Then connect with debug output and keep the lines that matter:

ssh -vv user@server true 2>&1 | grep -E 'remote software version|KEX algorithms|kex: algorithm'

There are two KEX algorithms lines: the first is what your client proposes, the second what the server proposes. The kex: algorithm line is the result:

debug1: kex: algorithm: mlkem768x25519-sha256

If the result contains mlkem or sntrup, the session is post-quantum. A curve25519-sha256 or ecdh-sha2-nistp256 here means one side has no hybrid in common with the other: compare the two lists to see which one. To check your client's effective setting for a host, including anything in ~/.ssh/config:

ssh -G server | grep -i '^kexalgorithms'

In Wardterm you skip the debug output: open the session menu, More, then Connection details, which shows the key exchange in use and whether it is post-quantum. In a server's settings, Key exchange offers Post-quantum first (the default), Post-quantum only, and Classic only for an old server that misbehaves.

How do you enable post-quantum key exchange on an SSH server?

On OpenSSH 9.9 or later there is usually nothing to add: the defaults already offer both hybrids. Check what the running server will offer:

sudo sshd -T | grep -i '^kexalgorithms'

If neither mlkem768x25519-sha256 nor sntrup761x25519-sha512 appears, a KexAlgorithms line in /etc/ssh/sshd_config or /etc/ssh/sshd_config.d/ is overriding the defaults, often one copied from an older hardening guide. Remove it, or start it with the hybrids:

KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org

Validate, then reload. The service is sshd on Red Hat style systems and ssh on Debian and Ubuntu:

sudo sshd -t && sudo systemctl reload ssh

Keep your current session open and test from a second terminal before you log out. If the server runs OpenSSH 9.0 to 9.8, use sntrup761x25519-sha512@openssh.com alone at the front: those versions know neither the mlkem name nor the sntrup name without the suffix. Older servers need an upgrade, which usually means a newer distribution. For the other settings worth reviewing at the same time, see how to harden sshd_config.

Is post-quantum key exchange in SSH clients worth turning on now?

It costs almost nothing and protects against a specific risk: someone recording your SSH traffic today and decrypting it years from now. If your sessions carry passwords, database dumps or anything else that must stay secret for a long time, it is worth having on every server you control. Because the methods are hybrids, a flaw in the post-quantum half would still leave the classic X25519 protection in place.

The practical steps: keep clients up to date, upgrade servers to OpenSSH 9.9 or later, remove hand-written KexAlgorithms lines that predate the hybrids, and use the warning in OpenSSH 10.1 and later to find the hosts that still need work.

Questions

What is mlkem768x25519-sha256?

A hybrid SSH key exchange that combines ML-KEM-768, the post-quantum key encapsulation standardised by NIST as FIPS 203, with classic X25519. The session key depends on both, so it stays safe as long as either one holds. It is the default of OpenSSH 10.0 and later.

What is sntrup761x25519-sha512?

The older hybrid, pairing Streamlined NTRU Prime with X25519. OpenSSH made it the default in 9.0 (April 2022) under the name sntrup761x25519-sha512@openssh.com, and added the name without the suffix in 9.9. It is still offered by default as a second choice.

Which OpenSSH version made post-quantum key exchange the default?

OpenSSH 9.0 made sntrup761x25519-sha512@openssh.com the default in April 2022. OpenSSH 10.0 moved the default to mlkem768x25519-sha256 in April 2025.

Why does ssh warn that the connection is not using a post-quantum key exchange?

Since OpenSSH 10.1 the client prints that warning whenever it negotiates a classic key exchange, usually because the server is older than OpenSSH 9.0 or a KexAlgorithms line removed the hybrids. Our guide to the post-quantum warning shows each fix.

Does post-quantum key exchange slow down SSH?

Not in a way you notice. The hybrid adds a couple of kilobytes to the handshake and a little computation, once per connection and at each rekey. The session itself uses the same ciphers as before.

Do I need new SSH keys for post-quantum key exchange?

No. The key exchange protects the session against recording today and decryption later. Your Ed25519 or RSA keys sign the login and stay as they are; post-quantum signatures are a separate, later step.

How do I make sshd_config KexAlgorithms post-quantum?

On OpenSSH 9.9 or later, remove any old KexAlgorithms line to get the defaults, or put mlkem768x25519-sha256 and sntrup761x25519-sha512 at the front of it. Then run sudo sshd -t and reload the service.

Sources

Each page was read on the date shown. Prices and features change, so check the maker's page before you decide.

  1. OpenSSH 8.5 release notes, read on
  2. OpenSSH 9.0 release notes, read on
  3. OpenSSH 9.9 release notes, read on
  4. OpenSSH 10.0 release notes, read on
  5. OpenSSH 10.1 release notes, read on
  6. Post-Quantum Cryptography, OpenSSH, read on
  7. PuTTY changes by version, read on
  8. libssh 0.12.0 and 0.11.4 release announcement, read on
  9. libssh2 release notes, read on
  10. Go x/crypto/ssh, mlkem768x25519-sha256 change, read on
  11. Paramiko changelog, read on
  12. AsyncSSH change log, read on
  13. Dropbear CHANGES, read on
  14. wolfSSH ChangeLog, read on
  15. russh v0.54.6 release, read on
  16. JSch (mwiede fork) ChangeLog, read on
  17. Apache MINA SSHD 2.13.0 changes, read on
  18. Apache MINA SSHD 2.15.0 changes, read on
  19. Win32-OpenSSH releases, read on
  20. Bitvise SSH Client version history, read on
  21. WinSCP version history (older releases), read on
  22. MobaXterm version history, read on
  23. Termius changelog, read on
  24. Tabby releases, read on
  25. ConnectBot releases, read on
  26. Blink Shell on the App Store, version notes, read on
  27. Wardterm docs, fingerprints and connection details, read on

All posts