The <read> <write> interactivity could be used to be able to respond to different situations like ls -l foo ls: foo: No such file or directory ... or
ls -l foo -rwxr-xr-x 1 Administ Kein 1538 Feb 20 19:03 foo It is true that ssh does not need to be interactive. The type of "dialog" I am referring to is better handled by a shell script or an ant build file at the remote end. It looks like the telnet task needs <read><write> for the login; this is not the case for ssh. Antoine ----- Original Message ----- From: "Anderson, Rob H - VSCM" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 6:42 PM Subject: RE: SSH Tasks > My comments (RA>) below. I encourage others to chime in. > > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 20, 2003 9:12 AM > To: [EMAIL PROTECTED] > Subject: Re: SSH Tasks > > > On Thu, 20 Feb 2003, Rob H. Anderson <[EMAIL PROTECTED]> > wrote: > > > The ssh task is different from the telnet task in that is not meant > > to handle an interactive shell session, beyond the password > > authentication. > > Why not? > > RA> Because there is no need to interact with the shell. > > > It is meant to provide the ability to execute commands remotely as > > if you were running ssh as follows: > > > > ssh [EMAIL PROTECTED] 'command arg' > > Which could be seen as a degenerate case with just a single <write>. > > RA> Sure. And the this feature could have been left out of ssh, forcing you > to interact with > RA> the shell. Don't you think it is unnecessary to force interactivity > where none is needed? > RA> Other than "consistency with the telnet command", what other value would > <read>/<write> add? > > > This sort of thing would be much more difficult to program (and > > maintain) as well. > > I must admit that I'm not familiar with the jsch code at all, so I > can't comment on this. > > > Stefan > > --------------------------------------------------------------------- > 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] >