2

How do I get ssh -X working on macOS Catalina (10.15)?

ssh -X linux_host works from another linux machine.

On a fresh install of macOS Catalina, I have installed MacPorts and xorg_server. However, ssh -X linux_host gives the following error message:

Warning: untrusted X11 forwarding setup failed: xauth key data not generated

In attempt to get this working, I changed my ~/.ssh/config file to

Protocol 2
Host *
    ForwardAgent yes
    ForwardX11 yes
    XAuthLocation /opt/local/bin/xauth

however this seems to make no difference.

Please note that ssh -Y works but is less secure than ssh -X.

1
  • Try ssh -Y...
    – lhf
    Commented Jul 14, 2020 at 10:58

0

You must log in to answer this question.

Browse other questions tagged .