ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob H - VSCM" <Anderson....@vectorscm.com>
Subject RE: SSH Tasks
Date Fri, 21 Feb 2003 19:31:37 GMT
It would be different, implementation-wise. The API for jsch has a different
object for an interactive (ChannelShell) and non-interactive (ChannelExec)
channel.

Dale, Where can I find the source for you ssh task? I tried to find it on
sourceforge
(http://sourceforge.net/project/showfiles.php?group_id=56772&release_id=1343
24), but no luck. I'd like to start working on various possibilities we are
discussing. Thanks



-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Friday, February 21, 2003 8:51 AM
To: dev@ant.apache.org
Subject: Re: SSH Tasks


On Fri, 21 Feb 2003, Rob H. Anderson <Anderson.Rob@vectorscm.com>
wrote:

> Can there be some flag that specifies interactivity?

If there is a reason for it, sure.

> <!-- Non-interactive -->
> <ssh host="myhost" username="myname" password="mypass"
> 	interactive="false"
> 	command="cd /usr/local/bin ; rm -rf product ; tar zxf
product.tar.gz"
> 	/>

Would this (implementation-wise) be different from

<ssh host="myhost" username="myname" password="mypass">
  <write>cd /usr/local/bin ; rm -rf product ; tar zxf product.tar.gz</write>
</ssh>

?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

Mime
View raw message