ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McCallion" <>
Subject RE: scp "auth cancel" error
Date Thu, 06 Apr 2006 10:23:27 GMT
Hi Carton,

Does it work if you try to do the scp from the command line?  From a very
cursory look at the error it seems like your getting some kind
authentication error.  Without knowing a lot about your environment I'd
first do a sanity check on the ssh configuration.  I'm wondering if the ssh
certificates on your local and remote box are setup correctly.

Hope this helps,


Brian McCallion
WebSphere Automation Solutions
Bronze Drum Consulting, Inc.
230 Park Avenue
New York, NY  10169
T (646) 283-0534
F (646) 201-9596
-----Original Message-----
From: Brown, Carlton [] 
Sent: Wednesday, April 05, 2006 5:24 PM
To: Ant Users List
Subject: scp "auth cancel" error

Can anyone shed light on this scp failure?  It's possible I made a
mistake although I checked my work.


The output:


      [scp] Connecting to


D:\dev\R2.0\src\test\build.xml:9: com.jcraft.jsch.JSchException: Auth



The target code:

            <target name="ship">

                        <scp file="foo.xml"









Software versions:


ant 1.6.5

jdk:  j2sdk1.4.2_10


I double checked that all referenced files exist and that the remote
host is reachable via ssh.


Thanks in advance,


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers. 163

View raw message