Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

JSCH Authentication failure in websphere 6.01

mist1605
2008-10-28
2013-05-28
  • mist1605
    mist1605
    2008-10-28

    Hi All,
    I'm having an application which needs to talk to a SFTP server running in Solaris.The test case runs fine with the JSCH talking with the SFTP server outside the Websphere instance.But when the application is deployed to the Websphere application server(v6.01) in my windows workstation
    it just fails authenticating(saying com.jcraft.jsch.JSchException: Auth fail).
    I tried using username and password as well as the public-private key type authentication.Both authentication mechanisms work fine out side the application server.  Can any one give some valuable clues to solve this problem.Is it required to tweak the webshere security to
    enable SFTP to be working or some code changes are required?

    Thanks in advance
    PCV