Problem during login

Help
2008-05-16
2013-05-28
  • Srikanth  KM
    Srikanth KM
    2008-05-16

    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??

     
    • Shoe
      Shoe
      2008-05-16

      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)