I put the following back at the end of /etc/ssh/sshd_config (from another 
machine) to get it straightened out on a new laptop (and put it back again 
after an upgrade, probably; IMO, even if they think their flavor of a config 
file is more magically secure, they ought to save people's edited version 
during upgrade so a user can manually put it back or merge changes; maybe they 
do, and I just don't know where they put it).

The last two are optional, although you clearly don't want the DISPLAY value 
generated to conflict with anything directly used by your actual X server.
XAuthLocation /opt/X11/bin/auth
# or for MacPorts X11.app rather than XQuartz.app,
# XAuthLocation /opt/local/bin/xauth
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes


PS xephem is probably the best EVER use I've seen of X resources for friendly 
configuration of a Motif app! It's a mystery to me why nobody else seems to 
have done it like that, with others just leaving people to guess what the 
resources might be and edit .Xdefaults by hand (or recompile libXt with editres 
support, and use editres to discover them; I made a LD_PRELOADable .so that 
wrapped the necessary functions in a client's use of shared libXt to make 
editres work on Solaris without recompiling libXt, but I don't know if I got 
that to work on macOS).

> From: Elwood Downey <[email protected]>
> Date: May 5, 2020 at 16:29:47 EDT
> To: [email protected]
> 
> 
> 
> Hello!
> 
> ssh -X and ssh -Y both failing:
> 
> from an Apple Air running High Sierra 10.13.6, host air2
> 
> to iMac running Catalina 10.15.4, host ecd-imac27
> 
> All worked fine until latest upgrade of Catalina. Both running XQuartz 
> 2.7.11. Now it fails as follows:
> 
> air2: ssh -X ecd-imac27.local
> X11 forwarding request failed on channel 0
> Last login: Tue Apr 28 16:20:02 2020 from fe80::873:528c:d42b:c768%en1
> ecd-imac27:
> 
> Note I can still create a tunnel connection manually on :1 just fine:
> 
> air2: ssh -R 6001:127.0.0.1:6000 <http://127.0.0.1:6000/> ecd-imac27.local
> Last login: Tue Apr 28 16:21:20 2020 from 192.168.7.112
> ecd-imac27: setenv DISPLAY :1
> ecd-imac27: xeyes  displays correctly on air2
> 
> Any idea what happened?
> 
> I've pasted output from "ssh -v" below in case it helps.
> 
> Many thanks,
> 
> Elwood Downey, Tucson AZ

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to