Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Last reviewed 2026-12-05 · History

Summary

  • SSH negotiates key exchange and host key algorithms separately; user authentication is a third, independent step.
  • Key exchange: two hybrid methods are published as Informational RFCs, sntrup761x25519-sha512 (RFC 9941) and mlkem768x25519-sha256 (RFC 10042).12
  • Host and user keys: the composite ssh-mldsa44-ed25519 has a registered name but is still an Internet-Draft.34
  • Either side can restrict what it accepts by configuration; the protocol has no built-in way to demand post-quantum algorithms from a peer.

No post-quantum SSH signature algorithm is specified in an RFC (checked 2026-12-05).34

Where public-key cryptography is used

  • Key agreement: the server must “Choose the first algorithm” from the client’s list of key exchange methods that it also supports, so the client’s order decides; this is the part exposed to recording traffic now and decrypting it later.5
  • Authentication: the server signs the exchange with its host key (negotiated in the same message as the key exchange method) and the user proves possession of a private key; OpenSSH-style SSH certificates are a separate format whose CA signature algorithm is a further thing to check.5

Post-quantum options

Key agreement

Method Kind Status in the IANA registry
sntrup761x25519-sha512 hybrid RFC 9941 (April 2026, Informational); SHOULD
mlkem768x25519-sha256 hybrid RFC 10042 (August 2026, Informational); SHOULD
mlkem768nistp256-sha256 hybrid RFC 10042; SHOULD
mlkem1024nistp384-sha384 hybrid RFC 10042; SHOULD
mlkem512-sha256, mlkem768-sha256, mlkem1024-sha384 pure individual draft draft-harrison-mlkem-ssh-01; MAY

Sources:126.

Peer authentication

Algorithm Kind Status
ssh-mldsa44-ed25519 composite (hybrid) draft-ietf-sshm-composite-sigs-00, 2026-08-21
ssh-mldsa87-p384 composite (hybrid) same draft
ssh-mldsa-44, ssh-mldsa-65, ssh-mldsa-87 pure individual draft draft-sfluhrer-ssh-mldsa-08

Sources:34.

Downgrade and enforcement

  • A client that lists only hybrid key exchange methods cannot be given a classical one, because the server must choose from the client’s list; a server that lists only hybrid methods refuses clients that have none.5
  • The same applies to host key algorithms and to the key types accepted for user authentication. How to set the lists is implementation-specific; see OpenSSH.
  • The protocol does not tell a user that a classical method was chosen; any warning is an implementation feature.

Implementations

References

  1. RFC 9941, SSH Key Exchange Method Using Hybrid Streamlined NTRU Prime sntrup761 and X25519 with SHA-512, April 2026. Accessed 2026-12-05. ↩ ↩2

  2. RFC 10042, PQ/T Hybrid Key Exchange with ML-KEM for Use in SSH, August 2026. Accessed 2026-12-05. ↩ ↩2

  3. draft-ietf-sshm-composite-sigs-00, Post-Quantum Composite Signatures in SSH, 2026-08-21. Accessed 2026-12-05. ↩ ↩2 ↩3

  4. IANA, SSH Public Key Algorithm Names. Accessed 2026-12-05. ↩ ↩2 ↩3

  5. RFC 4253, The Secure Shell (SSH) Transport Layer Protocol, section 7.1. Accessed 2026-12-05. ↩ ↩2 ↩3

  6. IANA, SSH Key Exchange Method Names. Accessed 2026-12-05. ↩


Edit: SSH

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.