On Wednesday April 5, 2006 17:23, "Brown, Carlton"
<[EMAIL PROTECTED]> 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="[EMAIL PROTECTED]:/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]