Dynamic Remote Port forward?

Darren Tucker dtucker at zip.com.au
Wed Nov 23 09:17:01 AEDT 2016

On Mon, May 9, 2016 at 4:21 PM, Bert Wesarg <bert.wesarg at googlemail.com> wrote:
> On Sun, May 8, 2016 at 9:59 PM, Ángel González <keisial at gmail.com> wrote:
>> I think this would be doable with:
>> ssh -oProxyCommand="ssh -D 1080 localhost -W %h:%p" -R
>> /sshvpn/gateway-xxxx:localhost:1080 sshvpn at central
> AFAIK -W forces ClearAllForwardings=1, which makes -D a no-op.

For future reference: OpenSSH 7.3 added the ability to override that
ClearAllForwardings settings when -W is used.


Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list