Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Bugs

[Bug 1977] ProxyCommand seems to no execute shell commands

 

 

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Mar 29, 2012, 5:57 PM

Post #1 of 2 (174 views)
Permalink
[Bug 1977] ProxyCommand seems to no execute shell commands

https://bugzilla.mindrot.org/show_bug.cgi?id=1977

--- Comment #3 from Damien Miller <djm [at] mindrot> 2012-03-30 11:57:51 EST ---
I think I've figured out your problem:

xasprintf(&tmp, "exec %s", proxy_command);

This is done to avoid a lingering shell for the life of the connection,
while still allowing shell expansion of environment variables, etc. If
you proxy command requires other shell features then you'll need to
provide one explicitly.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


bugzilla-daemon at bugzilla

Mar 30, 2012, 5:14 AM

Post #2 of 2 (156 views)
Permalink
[Bug 1977] ProxyCommand seems to no execute shell commands [In reply to]

https://bugzilla.mindrot.org/show_bug.cgi?id=1977

--- Comment #4 from Christoph Anton Mitterer <calestyo [at] scientia> 2012-03-30 23:14:51 EST ---
So you basically mean,... it doesn't work by intention, right?

Could you then please update the documentation to reflect this?
I.e. that [just] commands can be executed, but that env-variables (and
whatever else works) are expanded. :)

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

OpenSSH bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.