Does anyone experienced sshd crash?

I upgraded to unstable version and sshd crashed randomly.
After that I roll back to stable 9.9p2, seems problem resolved since then.
After some research, I think it maybe caused by the new --with-linux-memlock-onfault :

Bug report in Debian
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103418

Issue tracker in openssh
https://bugzilla.mindrot.org/show_bug.cgi?id=3822

Debian disable this flag again

I think I ran into this myself. After upgrading to 25.05, I was completely unable to use SSH on my home server. It just kept saying “Connection closed by <remote IP>”. It was a pain rolling it back to 24.11.

I proposed a fix here: openssh: disable memlocking when building with PAM support by LeSuisse · Pull Request #411653 · NixOS/nixpkgs · GitHub

2 Likes