Hi elijah, The requirement is to block port 22 for SSH and accept SFTP connections on Port 22. Is there a class/method that can help us achieve the aim?
-Garima Jain. On Fri, Jun 17, 2016 at 3:27 PM, elijah baley <e_ba...@outlook.com> wrote: > Is there some reason your code cannot examine the incoming client address > and reject it if it does not match some specified criteria (e.g., mask, > network, closed group of IPs - whatever...) ? > > > From: jain.garim...@gmail.com > > Date: Fri, 17 Jun 2016 14:50:51 +0530 > > Subject: Partial Disabling of port 22 using apache-mina SSHD > > To: dev@mina.apache.org > > > > Hi, > > > > > > > > We are using com.springsource.org.apache.mina-1.0.2.jar in our product. > > The requirement is to disable port 22 for all incoming traffic over SSH > but > > the same port is required to communicate with few IP’s over 22. Is there > a > > way to handle selective port blocking? > > > > > > -Garima Jain. > >