ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: ant ssh problem
Date Thu, 16 Oct 2003 10:01:15 GMT
Does this mean than one needs ssh executable to
bootstrap the ant tasks ?
Peter
On Thursday 16 October 2003 10:58, Jan.Materne@rzf.fin-nrw.de wrote:
> You should connect via command line ssh to shark. Then you are asked that
> shark is not know yet as a "trusted computer". And you can add it to
> ...\known_hosts
> file.
>
> After that <sshexec> should work.
>
>
> Jan
>
> > -----Original Message-----
> > From: sairam manda [mailto:manda_sairam@hotmail.com]
> > Sent: Thursday, October 16, 2003 11:40 AM
> > To: user@ant.apache.org
> > Subject: ant ssh problem
> >
> >
> >
> > I have windows NT OS . I want to run  ssh task in my ant script .
> > I get the following error  upon execution.
> >
> > ssh:
> >   [sshexec] Connecting to shark:22
> >   [sshexec] java.io.FileNotFoundException:
> > C:\WINNT\Profiles\Administrator.000\.ssh\known_hosts
> >   (Das    System kann den ang    egebenen Pfad nicht finden)
> >
> >
> > ant  source
> >
> > <target name="ssh">
> >       <sshexec host="shark"
> >           username="xyz"
> >           password="xyz"
> >           command="rm -R /home/manda/temp/shark"/>
> >    </target>
> >
> > Please help  me with  this  problem.
> >
> > regards
> > sairam
> >
> > _________________________________________________________________
> > Celebrate Shakti. Send money to loved ones in India.
> > http://server1.msn.co.in/sp03/navaratri/ Have a joyous Navratri.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org


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


Mime
View raw message