Re: What's the deal on the -X vs -Y thing?

From: Neil W Rickert (rickert+nn_at_cs.niu.edu)
Date: 01/25/05


Date: Tue, 25 Jan 2005 02:47:51 +0000 (UTC)

Dan Stromberg <strombrg@dcs.nac.uci.edu> writes:

>Why was -X changed to -Y, and was it really worth breaking user-training
>compatibility?

>With this apparently-intentional breakage, it's going to be a mess for
>years to come, helping users understand when to use -X and when to use -Y.

>Or am I missing something? Is there still a consistent way of getting X11
>forwarding, across versions of openssh?

I'm not sure what problem you are having.

I just added to ".ssh/config"

  ---------

Host *
        ForwardAgent no
        ForwardX11 no
        ForwardX11Trusted yes
        StrictHostKeyChecking ask

  -----

and all works fine.

I first tried that with only a specific host -- the one where I
most needed trusted X-forwarding. But that didn't work very well,
so I made it apply to all. In practice, I only do X forwarding to
trusted hosts anyway. My default is to forward neither X nor agent.