In November 2020 I reported problems using sshd
in Termux on my Fairphone 3 with /e/OS. I encountered connection timeouts again and again: Termux, sshd connection problems via WLAN
In September 2022 I did unintentionally fix this problem: I exchanged an my old cheap WLAN access point for a new one (at a higher price level). (I don’t want to advertise here, so I don’t write product brands. But you can write a private message, if you want to know).
Since this day, the WLAN / WiFi connection problems disappeared.
(I would have posted this in my old thread, but this old thread has been closed last year.)