ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arminio Andrei <>
Subject RE: SCP Auth Faild
Date Mon, 17 Jul 2006 19:39:13 GMT
Thanks Bob!
"Anderson, Rob (Global Trade)" <> wrote:
    The error indicates an authentication failure. This can happen for a few
common reasons. 

1. If your password has special characters and you are putting the
actual password in your build.xml you may get this error. To fix the
problem, put the password in a properties file and use a property in
your build.xml.

  My password don't have special characters and dosen't work evean if I put it in a properties
2. If your password is not correct, you will get this error.
And I'm sure it is correct.
I recommend using ssh keys to authenticate because you will not have to
put your password in plain text into a build.xml or properties file.

  I've make a bash script that can do this job using ssh keys to authenticate and I guess
will be a peace of cake to use scp ant task, but this tomorrow 
-Rob A

> -----Original Message-----
> From: Arminio Andrei [] 
> Sent: Friday, July 14, 2006 11:37 PM
> To:
> Subject: SCP Auth Faild
> Hi all,
> I try to copy a bunch of files from my local machine (Fedora 
> Core 5) to the jboss server that running on a SuSe Enterprise 
> 9. I write this ant task:
> I'm geting this error:
> /usr/local/cruisecontrol/projects/CNAS-SIUI/build/tst.xml:60: 
> com.jcraft.jsch.JSchException: Auth fail
> at 
> at 
> at
> at
> at
> ......................................................................
> If I use scp everything works fine but from ant ......
> I try to use diffrent kind of jsch.jar libraries but I get 
> the same error.
> Does anyoane of u know what happends?
> Thx for help,
> Arminio
> ---------------------------------
> Do you Yahoo!?
> Next-gen email? Have it all with the all-new Yahoo! Mail Beta.

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message