Using -W with -L (Local Forwarding) and -D (Socks Forwarding)

Darren Tucker dtucker at
Mon Aug 1 10:43:05 AEST 2016

On Sun, Jul 31, 2016 at 9:36 PM, Thomas Glanzmann <thomas at> wrote:
> My problem is that -W clears all forwardings.
> Is there another trick or option for example with -L that allows me to forward
> stdin using a bounce host but let me specify additional forwardings?

This was added in the about-to-be-released 7.3: ssh -W still sets
ClearAllForwardings but in a way that can be overridden by explicit

Darren Tucker (dtucker at
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