Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
RE: SSH in ANT?!?! (WAS: RE: process on a remote server via an ANT
?????)

RE: SSH in ANT?!?! (WAS: RE: process on a remote server via an ANT
?????)

2003-03-21       - By shahaji.kadam@(protected)

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@(protected)]
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@(protected)]
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@(protected)]
Sent: Thursday, March 20, 2003 9:47 AM
To: user@(protected)
Subject: Re: SSH in ANT?!?! (WAS: RE: process on a remote server via an
ANT ?????)


On Thu, 20 Mar 2003, Nathan Christiansen <Nathan_Christiansen@(protected)>
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@(protected)
For additional commands, e-mail: user-help@(protected)




©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.