OpenSSH (macOS и Linux)

Исправляет приоритет в macOS для выбора mlkem768x25519-sha256.

Время: 2 мин NIST FIPS 203 (ML-KEM)

macOS ставит классический ECDH выше PQC в /etc/ssh/crypto.conf. Задайте KexAlgorithms в самом начале ~/.ssh/config и в sshd_config.

sshconfig
# 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"
Проверка: ssh -G example.com | grep '^kexalgorithms '
Проверьте изменения вживую

Запустите проверку рукопожатия NIST FIPS 203 ML-KEM сразу после перезагрузки конфигурации TLS.

Сканер →