ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arminio Andrei <arminio.and...@yahoo.com>
Subject SCP Auth Faild
Date Sat, 15 Jul 2006 06:37:26 GMT
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:

<scp todir="user:password@jbossmachine:/home/jboss" trust="yes">
  <fileset dir="/path/to/my/local/files"/>
</scp>

I'm geting this error:
BUILD FAILED
/usr/local/cruisecontrol/projects/CNAS-SIUI/build/tst.xml:60: com.jcraft.jsch.JSchException:
Auth fail
    at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:187)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
......................................................................

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.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message