tomaswolf commented on issue #350: URL: https://github.com/apache/mina-sshd/issues/350#issuecomment-1496576326
It's not implemented in Apache MINA sshd, but I suppose it should be possible to implement this via a `SessionListener`. The basic idea (I didn't try this, though) would be to remember sessions in `sessionEstablished` or `sessionCreated`, and remove them in `sessionEvent` when the event is `Event.Authenticated`, and in `sessionClosed`. If the count is too high in `sessionCreated`, throw an exception. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org