• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT Auth error

 
Pooja Mehta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying to execute scp task in my build.xml but it keeps failing with the below error:
com.jcraft.jsch.JSchException: Auth fail

Here's my code:


I'm using the password uthetication method and am sure of the password I've entered.

Please suggest.


Regards.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding in the verbose option, that should display the exact scp command being used. Try running that command manually. Anyway, that should help you start debugging the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic