On 3/10/15 12:38, John Koren wrote:
After upgrading to El Capitan, my macs are not able to do x11forwarding.
Same here. []
I noticed that in El Capitan system-wide ssh configuration files are now in /etc/ssh.
Xquartz doesn't seem to have noticed this. It creates a file /etc/sshd_config containing the 2 lines # XAuthLocation added by XQuartz (http://xquartz.macosforge.org) XAuthLocation /opt/X11/bin/xauth This file is no longer used, so the XAuthLocation line is forgotten. Add it to /etc/ssh/sshd_config, and X11 forwarding will work (it did for me, anyway).
I enabled X11forwarding and included
# XAuthLocation added by XQuartz (http://xquartz.macosforge.org <http://xquartz.macosforge.org/>) Host * XAuthLocation /opt/X11/bin/xauth
in the ssh_config and sshd_config files in /etc/ssh.
Has anybody faced this issue with El Capitan and found a solution to it?
Adding it to sshd_config worked for me, without the Host * line though, which seems to be a ssh_config thing. -- Martin