[PATCH] Expose remote forwarding ports as environment variable

Alex Bligh alex at alex.org.uk
Sat May 18 19:02:54 EST 2013


On 17 May 2013, at 23:07, Darren Tucker 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?

Doh - it's a parameter to the second ssh, not the first - sorry.

-- 
Alex Bligh






More information about the openssh-unix-dev mailing list