ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: SSH based tasks?
Date Thu, 06 May 2004 05:43:10 GMT
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
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message