Re: Dynamic Remote Port forward?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Mon, May 9, 2016 at 4:21 PM, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote:
> On Sun, May 8, 2016 at 9:59 PM, Ángel González <keisial@xxxxxxxxx> wrote:
>> I think this would be doable with:
>>
>> ssh -oProxyCommand="ssh -D 1080 localhost -W %h:%p" -R
>> /sshvpn/gateway-xxxx:localhost:1080 sshvpn@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.

https://bugzilla.mindrot.org/show_bug.cgi?id=2577
https://anongit.mindrot.org/openssh.git/commit/?id=0cb2f4c2494b115d0f346ed2d8b603ab3ba643f4

-- 
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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux