I am facing a strange issue during login process for SFTP.Whenever I try to login using a wrong username/password,the authentication fails as expected but I see that in the server there is a increase in online user count.I am using jsch.getSession() to get a session and when authentication fails,there is a increase in the count of online users in the server. I am using FreeSSHd as SFTP server. Has anybody faced a similar issue??
This is caused by a bug in JSch that causes it to go into an infinite login loop when a wrong username/password is used. To resolve this issue, use the JSch X package which fixes this bug and is available in SourceForge (search for JSch X)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.