Re: openssh not working since updating to kernel 5.15
Bumped against similar issues with ssh servers (also dropbear) and the problem turned out to be a "lack of entropy".toggle quoted message Show quoted text
It takes the ssh server up to several minutes to initialize on an embedded system, because there's no source of randomness and /dev/random just blocks.
When you connect to such a system with SSH, everything is fine, no errors, but the connection won't show any activity for a long time.
You can speed it up by writing some random strings to /dev/random.
A quick workaround is to just add "haveged" to your image. That creates an entropy source based on CPU characteristics, which is questionable from a security point of view. A secure workaround would be to have an actual hardware random number generator on board somewhere.
Met vriendelijke groet / kind regards,
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
T: +31 (0) 499 33 69 69
Please consider the environment before printing this e-mail
On 13-02-2023 10:02, gcblair via lists.yoctoproject.org wrote: