The sshexec task was written to remotely execute commands via ssh, similar to the following...
ssh [EMAIL PROTECTED] 'command arg' You can also run multiple commands by separating them with a ";". -Rob Anderson > -----Original Message----- > From: S. Alan Ezust [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > S. Alan Ezust > Ottawa, Ontario, Canada > http://cartan.cas.suffolk.edu/~sae > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]