• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ant and scp  RSS feed

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use the scp task in ant to deploy my web application, but it's not working. I keep getting an exception saying "auth fail". Does anyone know why it's doing this?

Here is my ant task:



Here is my stack trace:

 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has nobody else here used the scp task?
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I have not, but do use ssh/scp command line quite a bit.

1) Can you run this from the command line?

2) Can you run this outside of ant, using just the jsch.jar?

3) Are all of your ant properties set correctly?

Re: Use of password: you should investigate key authorization.

G.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!