On Tue, Jun 29, 2021 at 04:33:50PM +0000, Andrew M.A. Cater wrote:
> ssh -Y is similar to ssh -X but does some authentication - yuu don't have
> to use xhost+ or similar.

You don't use xhost with ssh -X, either.  At least, not explicitly.
ssh takes care of that for you.

In fact, on Debian, ssh -X and ssh -Y do exactly the same thing, due
to changes that Debian made.  This is documented in the ssh(1) man page.

If you've been using "xhost +" together with "ssh -X", you've been doing
it wrong (and *dramatically* destroying all your network security) all
along.

Reply via email to