remote command word splitting

Frederik Eaton frederik at a5.repetae.net
Fri Dec 3 06:50:38 EST 2004


On Thu, Dec 02, 2004 at 11:22:40PM +1100, Darren Tucker wrote:
> Frederik Eaton wrote:
> >>You'd also have to set up the user's environment (PATH and whatnot), 
> >>which probably involves parsing various startup files.  Hey, that sounds 
> >>a lot like what a shell does...
> >
> >That's why I invoke a shell in my example...
> 
> Sure (although your example doesn't seem to work in any shell I tried, 
> which is it intended for?), 

Hmm, zsh, I think, sorry. I wasn't sure about the right way to do it
in other shells.

> but there's no guarantee that the user is always going to invoke a
> shell in the command line they send.

True, the interface would be non-optimal. Presumably the documentation
would provide examples of common usage patterns. But this is all moot
since the protocol isn't going to be modified...

Regards,

Frederik




More information about the openssh-unix-dev mailing list