[PATCH] Expose remote forwarding ports as environment variable

Darren Tucker dtucker at zip.com.au
Sat May 18 08:07:54 EST 2013


On Sat, May 18, 2013 at 12:38 AM, Alex Bligh <alex at alex.org.uk> wrote:

>
> On 17 May 2013, at 14:30, Darren Tucker wrote:
> [...]
> > client$ ssh <fromssh >tossh -T -y server ssh -y -N -T -MS/tmp/ctl
> > -oProxyCommand=- client &
>
>
> The problem for me is at this step. You have to trust the client's command
> on the server. What happens if they don't pass the correct -MS command?
>

Enforce it via ForceCommand?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list