Hacker News new | ask | show | jobs
by zzq1015 7 hours ago
AFAIK, no.

SSH's rekeying generates completely new keys, so probably add this to your config:

  RekeyLimit 128M 10m
Or something much more frequent (default 1G 1h)
1 comments

SSH rekeying is just another DH, and equally vulnerable. Essentially it is a new session, no ratcheting, so shorter rekeys just make it more likely the listener catches a rekey event.
Breaking keys takes time.

Option A: having 6+ keys in 1 hour, attacks break 1 key to see a slice of the communication

Option B: 1 key exchange at the beginning, betting on the attacker not saving the first handshake packet

Still, switch to post-quantum key exchange ASAP, this is only a bandaid solution.