OpenSSH (macOS & Linux)

macOS既定の優先順位を修正しmlkem768x25519-sha256をネゴシエート。

所要時間: 2分 NIST FIPS 203 (ML-KEM)

macOSの /etc/ssh/crypto.conf は古典ECDHを優先します。~/.ssh/config の最上部とサーバーの sshd_config で KexAlgorithms を明示指定します。

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 '
適用結果をライブ検証

TLS設定リロード直後にNIST FIPS 203 ML-KEMハンドシェイクを再検証できます。

スキャナー →