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
- Check the requirements: libssh 0.12.0+.
- Apply the configuration below.
- 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 product cannot require post-quantum key exchange yet.
Findings
- HighNo post-quantum key exchange
CMP-SSH-KX-CLASSICAL - HighOnly a pre-standard post-quantum method
CMP-SSH-KX-DRAFT-ONLY - LowPost-quantum through sntrup761 only
CMP-SSH-KX-NO-MLKEM