Dynamic Remote Port forward?

Bert Wesarg bert.wesarg at googlemail.com
Mon May 9 16:21:16 AEST 2016


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.

>
> -D doesn't support local_socket, so a regular port is used.
>
>
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list