Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82960 invoked from network); 6 May 2004 15:32:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 May 2004 15:32:22 -0000 Received: (qmail 91164 invoked by uid 500); 6 May 2004 15:18:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91120 invoked by uid 500); 6 May 2004 15:18:01 -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 91079 invoked from network); 6 May 2004 15:18:01 -0000 Received: from unknown (HELO hotmail.com) (64.4.49.31) by daedalus.apache.org with SMTP; 6 May 2004 15:18:01 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 6 May 2004 06:37:13 -0700 Received: from 212.158.224.126 by by14fd.bay14.hotmail.msn.com with HTTP; Thu, 06 May 2004 13:37:13 GMT X-Originating-IP: [212.158.224.126] X-Originating-Email: [whatizusayin@hotmail.com] X-Sender: whatizusayin@hotmail.com From: "whatiz usayin" To: user@ant.apache.org Bcc: Subject: RE: SSH based tasks? Date: Thu, 06 May 2004 13:37:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 06 May 2004 13:37:13.0951 (UTC) FILETIME=[3D81A6F0:01C4336F] 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 Thanks for all your replies, I was looking for something that would not require too many amendments to my existing scripts. After some googling yesterday I did manage to find another ssh task which is based on a commercial API. However the task itself is free to use and I've been able to convert my existing tasks with minimal changes. For anyone interested the link is http://3sp.com/products/sshtools/maverick/maverick-ant.zip >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 > > > > > > > > _________________________________________________________________ > > > > Express yourself with cool new emoticons > > > > http://www.msn.co.uk/specials/myemo > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > > > > > --------------------------------------------------------------------- > > > 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 > > _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org