Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Ant Task: sshexec

Ant Task: sshexec

2005-05-19       - By S I
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

How can I get sshexec to pass it more than one command at a time?

 <sshexec host="somehost"
  username="${username}"
  password="${password}"
  command="touch somefile"/>

I used it to run command on our unix server from my winxp desktop.  However,
it seems I have to instantiate many of these ...

<sshexec host="somehost"
  username="${username}"
  password="${password}"
  command="touch somefile"/>

.. just to run 1 cmd @ a time.  I tried <commnadline> + it <argument>
attribs to no avail as you guessed it.  Help!

Thanks
Steven



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.