ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: ant ssh problem
Date Thu, 16 Oct 2003 09:58:17 GMT
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
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message