QuantaFeed · Fix Playbook · OpenSSH >= 9.9 / 10.x

Fix OpenSSH Post-Quantum Key Exchange Warning (mlkem768x25519-sha256)

Finding / Symptom: OpenSSH 10.1+ warns: "WARNING: connection is not using a post-quantum key exchange algorithm. This session may be vulnerable to store now, decrypt later attacks."

Upgrade sshd to OpenSSH 9.9+ (10.0+ recommended) and put mlkem768x25519-sha256 first in KexAlgorithms so SSH sessions resist Harvest-Now-Decrypt-Later.

Copy-Paste Configuration Fix

# /etc/ssh/sshd_config (requires OpenSSH >= 9.9, 10.0+ recommended)
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256

# Test config and reload sshd:
sudo sshd -t && sudo systemctl reload ssh

Verify Live

npx quantafeed-pqc-scan ssh bastion.yourdomain.com

Test your stack live: SSH Post-Quantum KEX & Key Checker

Frequently Asked Questions

Does enabling mlkem768x25519-sha256 break older SSH clients?
No — listing curve25519-sha256 at the end of KexAlgorithms lets older clients connect while all OpenSSH 9.9+/10.x clients automatically upgrade to hybrid ML-KEM.