BBS:      TELESC.NET.BR
Assunto:  src/ssh/server.c
De:       Deuc¨
Data:     Thu, 26 Mar 2026 04:12:01 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/11a8614423b3cc448430cad6
Modified Files:
	src/ssh/server.c
Log Message:
Example server: fork per connection, 60s session timeout

Server now forks on accept and handles multiple concurrent
connections. SIGALRM enforces a 60-second session timeout via
dssh_session_terminate. SIGCHLD reaps children. Host keys
generated once before the accept loop.

Shell command parser: ping, quit, exit (+ undocumented diediedie
which SIGTERMs the parent to shut down the server).

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]