ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Clark <robert.cl...@quest.com>
Subject Re: scp "auth cancel" error
Date Wed, 05 Apr 2006 21:40:42 GMT
On Wednesday April 5, 2006 17:23, "Brown, Carlton" 
<Carlton.Brown@bellsouth.com> wrote:
> Can anyone shed light on this scp failure?  It's possible I made a
> mistake although I checked my work.

>       [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>

I believe the key file should point to your private key, not your 
public key.

- Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message