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 Thu, 20 Feb 2003 17:42:27 GMT
My comments (RA>) below. I encourage others to chime in.

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Thursday, February 20, 2003 9:12 AM
To: dev@ant.apache.org
Subject: Re: SSH Tasks


On Thu, 20 Feb 2003, Rob H. Anderson <Anderson.Rob@vectorscm.com>
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 username@hostname '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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

Mime
View raw message