|
|
|
|
|
by zzq1015
7 hours ago
|
|
Before doing any of these, please check your sshd version and crypto capabilities. Otherwise, you could lose access to ssh. > sshd -V
OpenSSH_10.6p2, OpenSSL 4.1.1 1 Dec 2026
> ssh -Q kex
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group14-sha256
diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
mlkem768nistp256-sha256 -> PQ, but NIST P-256 lol
curve25519-sha256
curve25519-sha256@libssh.org
sntrup761x25519-sha512 -> PQ
sntrup761x25519-sha512@openssh.com -> PQ
mlkem768x25519-sha256 -> PQ
Check with sshd -t after changing the config. |
|
for example, this is within my homelab, where I know all clients and servers are on the latest OpenSSH so I can lock the options down: