I need to accept SSHD connections only from a predetermined list of IP 
addresses.
I am trying to find the equivalent of the Mina BlacklistFilter for SSHD.
SSHD can run with NIO2 or Mina underneath so this should probably be done in a 
higher layer.
I tried implementing the peer address check in 
MySessionListener.sessionCreated()
but that confuses SSHD when running with NIO2. If I throw, SSHD stops listening 
on the server socket.
If I simply close the session, the closed session is added permanently to the 
managed sessions.
Is there a way to do this in SSHD without hardcoding to the Mina IO service?
I am using SSHD 0.14.0

Reply via email to