QSC-PROTO-0103 · CWE-327
SSH without post-quantum hybrid key exchange
Severity: HighReadiness: Fix availableQuantum threat: Shor
Summary
The SSH server, client or library negotiates only classical key exchange (curve25519-sha256, ecdh-sha2-*, diffie-hellman-*).
Why it matters
Recorded admin and file-transfer sessions can be decrypted later.
How to fix
Enable mlkem768x25519-sha256 (OpenSSH 9.9+, default in 10.0) or sntrup761x25519-sha512 first in KexAlgorithms.
- Upgrade OpenSSH servers and clients; update SSH libraries (JSch, Paramiko, SSH.NET, x/crypto/ssh) to versions with hybrid KEX.
- Verify with `qsc scan --target ssh://host:22`.
Code samples
Illustrative: confirm against your runtime’s documentation before shipping.
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256Until the provider is ready
Interim mitigations while platform support catches up.
- Restrict SSH to bastion hosts that already run OpenSSH 9.9+.