Control: tag -1 - moreinfo unreproducible On Wed, 24 Apr 2024 at 17:10:57 +0200, Guilhem Moulin wrote: >> It should be trivially reproducible by running `ssh -o ServerAliveCountMax=3 >> -o ServerAliveInterval=1 root@yourdropbearserver`. The client should then >> disconnect after 3 seconds. > > Seems to work as expected for me: > > $ ssh -oLogLevel=DEBUG3 \ > -oServerAliveCountMax=3 -oServerAliveInterval=1 \ > -oUserKnownHostsFile=/tmp/known_hosts \ > -i /tmp/test.key \ > -l user -p 10022 127.0.0.1 sleep 300 > […]
No wait, this works in the main system but indeed at initramfs stage the client doesn't get responses to its alive probes. My bad for assuming the behavior would be the same given it's the same binary. -- Guilhem.
signature.asc
Description: PGP signature