ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahaji.ka...@orbitech.co.in
Subject RE: SSH in ANT?!?! (WAS: RE: process on a remote server via an ANT ?????)
Date Fri, 21 Mar 2003 08:27:11 GMT
use <telnet> task.

<telnet userid="userid" password="pwd" server="server">
   <read>/users/userid</read>
   <write>./script.sh</write>
   <read string="/users/userid"/>
</telnet>

this will require additional component, NetComponents.jar, in CLASSPATH. see 
docs.

-----Original Message-----
From: sblanchet [mailto:sblanchet@sopragroup.com]
Sent: Friday,March 21, 2003 1:43 PM
To: user
Cc: sblanchet
Subject: RE: SSH in ANT?!?! (WAS: RE: process on a remote server via an
ANT ?????)



Hi,
 
Is there somebody who can send me a sample script to execute an ant script
on a remote machine (with telnet and ssh) ?
Thanks a lot
 
Sam


-----Message d'origine-----
De : Nathan Christiansen [mailto:Nathan_Christiansen@tni.com]
Envoyé : jeudi 20 mars 2003 20:40
À : Ant Users List
Objet : RE: SSH in ANT?!?! (WAS: RE: process on a remote server via an
ANT ?????)


I was unaware that other JCE implementations were available, I just 
blindly trusted the JSch website (http://www.jcraft.com/jsch/)

Lesson learned: Never underestimate the resourcefulness of an open 
source hacker. :)

-- Nathan Christiansen
   Tahitian Noni International
   http://www.tahitiannoni.com


-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Thursday, March 20, 2003 9:47 AM
To: user@ant.apache.org
Subject: Re: SSH in ANT?!?! (WAS: RE: process on a remote server via an
ANT ?????)


On Thu, 20 Mar 2003, Nathan Christiansen <Nathan_Christiansen@tni.com>
wrote:

> It is also important to note that since JSch uses the JCE (Java 
> Cryptography Extension)

True.

> it REQUIRES the use of JDK 1.4 or above.

No.  1.2.2 and Bouncycastle's JCE work fine for me.

Stefan

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



Mime
View raw message