Terminal command to restart net server?

Does anyone know what the command would be in Terminal to restart net server in Haiku? I’d like to try a script or cron job to restart the net server at periodic times, as a work-around to keeping SSHD connections “connectable”. After reboot, SSHD works for maybe 3 hours, then I can’t connect. Thanks, Jeff

Kill it and it should be automatically restarted: kill net_server

Hi, maybe check if this issue is related: OpenSSH 10.2p1-1 fails with EWOULDBLOCK · Issue #13177 · haikuports/haikuports · GitHub

If yours is a different issue a bug report would be appreciated.