Xauth error when using ssh from Mac to Linux

Issue

The command ssh -X or ssh -Y to a remote Linux machine from a Mac produces an error similar to one of these:

  • Warning: untrusted X11 forwarding setup failed: xauth key data not generated
  • Warning: No xauth data; using fake authentication data for X11 forwarding

Environment

  • macOS
  • XQuartz

Resolution

Update XQuartz to the latest available version.

Cause

XQuartz is old and needs to be updated.

Details

Article ID: 1493
Created
Tue 5/26/20 6:00 PM
Modified
Wed 1/11/23 7:52 AM