This should work. The idle timeout will close the ssh session which should in turn close the ioSession, and that session should be removed from the list of managed sessions. However, this happens slightly asynchronously, as the idle timeout will trigger the write of the disconnect message and the session will only be closed after the message has been written.
2015-05-07 17:40 GMT+02:00 Pellerin, Clement <clement_pelle...@ibi.com>: > I am implementing an SshServer with SSHD 0.14.0 > When a connection becomes idle, the client gets disconnected, > but the connection remains managed. > It still appears in > session.getIoSession().getService().getManagedSessions() > What am I doing wrong? > >