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

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 01/25/05


Date: 25 Jan 2005 02:15:37 GMT

In article <pan.2005.01.25.00.58.46.232107@dcs.nac.uci.edu>,
Dan Stromberg <strombrg@dcs.nac.uci.edu> wrote:
>I'd seen this, but I'll repeat: it's not -consistent-. Some versions of
>ssh -require- this (or -Y), while others -choke- on it. And if you have
>multiple versions of openssh on your systems, woe betide you if you
>rearrange your paths for some reason - your ssh-based automation scripts
>start breaking.
>
>This is going to mean a lot of retraining, recoding, and even users
>getting frustrated and going back to xhost +. It strikes me as a
>particularly arbitrary and capricious breakage of backward compatibility.

Did you *read* the FAQ entry? It says: "The previous behaviour can be
restored by setting ForwardX11Trusted yes in ssh_config."

This means you can put something like this at the bottom of ssh_config:
Host *
        ForwardX11Trusted yes

then -X will work the way it used to in previous version. No retraining,
no recoding, no xhost + ...

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Quantcast