This is a discussion on Re: setting current dir of remote shell within the OpenSSH Development forums, part of the Networking and Network Related category; Darren Tucker wrote: > It's not suitable for every purpose (eg if you need stdin on the > command) ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://lists.mindrot.org/mailman/lis...enssh-unix-dev |
![]() |
| Thread Tools | |
| Display Modes | |
|
|