macOS place ECDH classique avant le KEX post-quantique dans /etc/ssh/crypto.conf. Ajoutez KexAlgorithms tout en haut de ~/.ssh/config.
# Add to the VERY TOP of ~/.ssh/config (OpenSSH 9.9+ / 10+):
# '^' prepends PQ hybrid KEX ahead of macOS defaults while keeping fallbacks.
Host *
KexAlgorithms ^mlkem768x25519-sha256,[email protected]
# On Linux servers (/etc/ssh/sshd_config.d/99-pqc.conf):
# KexAlgorithms mlkem768x25519-sha256,[email protected],curve25519-sha256
# Verify negotiated KEX:
ssh -v yourserver true 2>&1 | grep "kex: algorithm"
Vérifier:
ssh -G example.com | grep '^kexalgorithms '
Vérifier votre déploiement en direct
Scanner →
Lancez un test NIST FIPS 203 ML-KEM immédiatement après le rechargement de votre configuration TLS.