I will try that and get back to you...

The root problem here is that the SSH exec request parses the supplied
command using the user's default shell, which is uncontrollable. Is
that right?

What if we did SSH exec of "sh" (without -c), then sent the command
over the channel (followed by "exit")?


On 19 May, 18:42, Jamis Buck <[email protected]> wrote:
> Ah! I think I may have found a work-around.
>
> If you use single-quotes instead of double-quotes, the string isn't
> immediately interpolated, so:
>
>    sh -c 'echo I need some `help`'
>
> appears to work, even if the calling shell is tcsh. Can you verify?
>
> - Jamis

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to