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="[EMAIL PROTECTED]:/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