ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "whatiz usayin" <whatizusa...@hotmail.com>
Subject RE: SSH based tasks?
Date Thu, 06 May 2004 13:37:13 GMT
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" <user@ant.apache.org>
>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 <scp> and execute it via
><sshexec>.
>
>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


Mime
View raw message