Thank you for your suggestion, but I re-coded it to use an exec task and
rsync after I didn't get a response for several days.
Best Regards,
Rick
On Wed, Sep 3, 2014 at 4:17 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote:
> Hi,
>
> +-From: "rickhoro ." <rickh...@gmail.com> --
> |_Date: Mon, 11 Aug 2014 12:09:58 -0400 ____
> |
> |I am trying to use the ANT SCP task to send a file to an Amazon EC2
> host,
> |and get a reject host key error.
> ...
>
> |ANT scp task:
> |------------------
> |<target name="deploy-script-remote">
> |<scp verbose="true"
> | todir="ubu...@compress.ptflix.com:."
> | keyfile="/home/rick/PTflixAWS/PTflixVideoCompressor.pem">
> |<fileset dir="/home/rick/temp" includes="testCC.html" />
> |</scp>
> |</target>
> ...
> |BUILD FAILED
> |/home/rick/workspace/PTflixCompressor/build-dist.xml:178:
> |com.jcraft.jsch.JSchException: reject HostKey: compress.ptflix.com
>
> How about running it with trust="yes", and then running it
> without trust="yes" ?
>
>
> Sincerely,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
> Skype callto://jcraft/
> Twitter: http://twitter.com/ymnk
> Facebook: http://facebook.com/aymnk
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users