setting current dir of remote shell

Bob Proulx bob at proulx.com
Tue May 1 15:17:18 EST 2007


Darren Tucker wrote:
> It's not suitable for every purpose (eg if you need stdin on the
> command) but you can do:
> 
> ssh $HOST /bin/sh <<EOD
> cmd args
> EOD
> 
> which does not subject the command to the remote shell's quoting.

Yes.  That is a good suggestion.  I have used that technique to good
success.

Bob


More information about the openssh-unix-dev mailing list