Set the trust="true" See the doc for more details...
http://ant.apache.org/manual/OptionalTasks/scp.html -Rob Anderson -----Original Message----- From: Chris Green [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 10:12 AM To: Ant Users List Subject: Re: SCP in Ant Thanks, that seems to have worked with the jsch.jar but I'm now getting an error message :- *com.jcraft.jsch.jschexception: java.net.UnknownHostException* The appropriate piece of code I am using is :- *<scp file="c:/build/oim/dist/VT-Aut/VT-Aut.jar" todir=" username:password@//10.68.7.7: /u01/app/oracle/product/9.1.0/oim/xellerate/ScheduleTask"/>* ** Any ideas ? Chris On Tue, Jul 1, 2008 at 6:37 PM, Matt Benson <[EMAIL PROTECTED]> wrote: > http://ant.apache.org/manual/install.html#librarydependencies > > --- Chris Green <[EMAIL PROTECTED]> wrote: > > > I'm trying to SCP some files to a remote server and > > the message that I'm > > getting back implies I'm missing an external jar > > from my system to be able > > to use the SCP function. > > > > Anyone any idea which this may be ? > > > > Chris > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
