remote command word splitting

Darren Tucker dtucker at
Thu Dec 2 23:22:40 EST 2004

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?), but there's no guarantee that the user is 
always going to invoke a shell in the command line they send.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list