Hacker News new | ask | show | jobs
by evil-olive 6 hours ago
you can also ssh to a live server with -vv (double verbose is important, single verbose won't give you these full details) to see the actual details of the protocol negotiation.

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:

    debug2: KEX algorithms: mlkem768x25519-sha256,sntrup761x25519-sha512,ext-info-c,kex-strict-c-v00@openssh.com
    debug2: host key algorithms: ssh-ed25519
    debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com
    debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com
    debug2: MACs ctos: hmac-sha2-512-etm@openssh.com
    debug2: MACs stoc: hmac-sha2-512-etm@openssh.com
    debug2: compression ctos: none,zlib@openssh.com
    debug2: compression stoc: none,zlib@openssh.com
1 comments

Looks good except you can change the line in your config:

  KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com
sntrup761x25519-sha512@openssh.com has been supported since OpenSSH 8.5 back in March 2021