You can set the max-auth-requests parameter in the SshServer.

server.getProperties().put(ServerFactoryManager.MAX_AUTH_REQUESTS,
Long.toString(5));

The default value is 20.

On Thu, Jun 7, 2012 at 6:03 PM, Samaira Gupta <[email protected]> wrote:
> Hi,
>
> I am using Apache mina sshd server in my application and new to Mina.
> Wanted to know if there is any configuration setting to specify the number
> of authentication retries for PasswordAuthenticator
>
> Or will have to override the method of ServerSession to handle ssh-auth..
>
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Reply via email to