Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Getting "JSchException: Auth fail" with correct Username and Password

  1. #1

    Default Getting "JSchException: Auth fail" with correct Username and Password

    I was trying to download a file from the remote machine using "Get a file with SFTP" , there was an exception despite of the correct username/password. Here are the logs of that:



    2014-12-05 09:23:11,444 INFO [STDOUT] ERROR 05-12 09:23:11,444 - Get a file with SFTP - Error getting files from SFTP :
    com.jcraft.jsch.JSchException: Auth fail
    Auth fail
    2014-12-05 09:23:11,444 INFO [STDOUT] ERROR 05-12 09:23:11,444 - Get a file with SFTP - org.pentaho.di.core.exception.KettleJobException:
    com.jcraft.jsch.JSchException: Auth fail
    Auth fail


    at org.pentaho.di.job.entries.sftp.SFTPClient.login(SFTPClient.java:99)
    at org.pentaho.di.job.entries.sftp.JobEntrySFTP.execute(JobEntrySFTP.java:468)
    at org.pentaho.di.job.Job.execute(Job.java:446)
    at org.pentaho.di.job.Job.execute(Job.java:547)
    at org.pentaho.di.job.Job.execute(Job.java:547)
    at org.pentaho.di.job.Job.execute(Job.java:547)
    at org.pentaho.di.job.Job.execute(Job.java:547)
    at org.pentaho.di.job.Job.execute(Job.java:377)
    at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:60)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.jcraft.jsch.JSchException: Auth fail
    at com.jcraft.jsch.Session.connect(Session.java:473)
    at com.jcraft.jsch.Session.connect(Session.java:145)
    at org.pentaho.di.job.entries.sftp.SFTPClient.login(SFTPClient.java:94)
    ... 9 more


    Any help would be greatly appreciated.

    Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    Hi.
    Not an expert about these things but since the message is "auth fail" and you believe that user and password are correct, maybe you're using the incorrect authentication method?
    -- Mick --

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.