Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15994 invoked from network); 6 May 2004 16:06:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 May 2004 16:06:01 -0000 Received: (qmail 34450 invoked by uid 500); 6 May 2004 15:59:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 34413 invoked by uid 500); 6 May 2004 15:59:47 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 34353 invoked from network); 6 May 2004 15:59:47 -0000 Received: from unknown (HELO barrierb241.nike.com) (146.197.27.40) by daedalus.apache.org with SMTP; 6 May 2004 15:59:47 -0000 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: SSH based tasks? Date: Thu, 6 May 2004 08:59:21 -0700 Message-ID: <200405061559.i46FxQSw015781@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SSH based tasks? Thread-Index: AcQzf2fx9Gy2rfSmQK67GYTGAKwHTQAAurJg From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 06 May 2004 15:59:21.0370 (UTC) FILETIME=[183E87A0:01C43383] X-WSS-ID: 6C84BF531025404-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I see. The task will allow you to continue to use nested = and . Nice. -Rob A > -----Original Message----- > From: whatiz usayin [mailto:whatizusayin@hotmail.com] > Sent: Thursday, May 06, 2004 6:37 AM > To: user@ant.apache.org > Subject: RE: SSH based tasks? >=20 >=20 > Thanks for all your replies, I was looking for something that=20 > would not=20 > require too many amendments to my existing scripts. After=20 > some googling=20 > yesterday I did manage to find another ssh task which is based on a=20 > commercial API. However the task itself is free to use and=20 > I've been able to=20 > convert my existing tasks with minimal changes. >=20 > For anyone interested the link is=20 > http://3sp.com/products/sshtools/maverick/maverick-ant.zip >=20 > >From: Jan.Materne@rzf.fin-nrw.de > >Reply-To: "Ant Users List" > >To: user@ant.apache.org > >Subject: RE: SSH based tasks? > >Date: Thu, 6 May 2004 07:43:10 +0200 > > > >Or create locally a script, upload it via and execute it via > >. > > > >Jan > > > > > -----Original Message----- > > > From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] > > > Sent: Wednesday, May 05, 2004 7:24 PM > > > To: Ant Users List > > > Cc: whatiz usayin > > > Subject: RE: SSH based tasks? > > > > > > > > > The sshexec task was written to remotely execute commands via > > > ssh, similar to the following... > > > > > > ssh user@host 'command arg' > > > > > > You can also run multiple commands by separating them with a ";". > > > > > > -Rob Anderson > > > > > > > -----Original Message----- > > > > From: S. Alan Ezust [mailto:ezust@users.sourceforge.net] > > > > Sent: Wednesday, May 05, 2004 9:51 AM > > > > To: Ant Users List > > > > Cc: whatiz usayin > > > > Subject: Re: SSH based tasks? > > > > > > > > > > > > You want to run an interactive remote shell through ssh from > > > > an ant script? > > > > > > > > Why not just run a non-interactive shell script (which could > > > > run an ant script > > > > for example) via ssh that does what you want on the other end? > > > > > > > > That might be easier... You can generate the file and scp it > > > > over there, and > > > > then run it on the remote host via ssh. > > > > > > > > On May 5, 2004 06:44 am, whatiz usayin wrote: > > > > > Hi, > > > > > > > > > > I've been using the Telnet task for sometime and want to > > > > move to SSH, > > > > > however the Telnet task supports nested read elements that > > > > allow my scripts > > > > > to wait for specific strings in the output before writing a > > > > response. The > > > > > current sshexec task does not support this, is anybody > > > > aware of any ssh > > > > > based tasks out there that may help? > > > > > > > > > > Regards > > > > > > > > > > Whatiz > > > > > > > > > >=20 > _________________________________________________________________ > > > > > Express yourself with cool new emoticons > > > > > http://www.msn.co.uk/specials/myemo > > > > > > > > > > > > > > > > > > > > > >=20 > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > > -- > > > > S. Alan Ezust > > > > Ottawa, Ontario, Canada > > > > http://cartan.cas.suffolk.edu/~sae > > > > > > > > > > >=20 > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > > > > > > > > > > > > > > >=20 > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: user-help@ant.apache.org > > > >=20 > _________________________________________________________________ > Express yourself with cool new emoticons=20 > http://www.msn.co.uk/specials/myemo >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org