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:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:51 AM To: [EMAIL PROTECTED] Subject: Re: SSH Tasks On Fri, 21 Feb 2003, Rob H. Anderson <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
