Re: setting current dir of remote shell

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) ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-01-2007
Bob Proulx
 
Posts: n/a
Default Re: setting current dir of remote shell

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0