ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McCallion" <brian.mccall...@bronzedrum.com>
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

Brian McCallion
President
WebSphere Automation Solutions
Bronze Drum Consulting, Inc.
230 Park Avenue
New York, NY  10169
T (646) 283-0534
F (646) 201-9596
http://www.bronzedrum.com
brian.mccallion@bronzedrum.com
-----Original Message-----
From: Brown, Carlton [mailto:Carlton.Brown@BellSouth.com] 
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:

ship:

      [scp] Connecting to some.host.com:22

BUILD FAILED

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

 

 

The target code:

            <target name="ship">

                        <scp file="foo.xml"

 
todir="someuser@some.host.com:/var/data"

                                    passphrase=""

                                    trust="true"

                                    verbose="true"

                                    keyfile="my.pub"/>

            </target>

 

 

Software versions:

jsch-0.1.26.jar

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,

Carlton


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




Mime
View raw message