FS#8729 - OpenSSH incorrect xauth path

Attached to Project: Arch Linux
Opened by Jason Giangrande (odius) - Wednesday, 21 November 2007, 16:17 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 03 December 2007, 21:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Isenmann Daniel (ise)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
The current version of openssh appears to have the wrong xauth path (/usr/X11R6/bin/xauth) compiled in. The correct path should be /usr/bin/xauth.

Additional info:
* Package: openssh 4.7p1-4


Steps to reproduce:
After the latest update of openssh I noticed a warning message that stated "Warning: No xauth data; using fake authentication data for X11 forwarding." whenever I connected to another computer via ssh. Finding this odd, I tried connecting using the -Y flag and could not forward X receiving the following error message.

Xlib: connection to "localhost:13.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xterm Xt error: Can't open display: localhost:13.0

Adding the line below to /etc/ssh/ssh_config works around the problem.

XAuthLocation /usr/bin/xauth
This task depends upon

Closed by  Aaron Griffin (phrakture)
Monday, 03 December 2007, 21:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing
Comment by Jens Adam (byte) - Thursday, 22 November 2007, 15:28 GMT Comment by Jacek Poplawski (Jacek Poplawski) - Saturday, 24 November 2007, 17:28 GMT
Very low severity? It's very annoying and impossible to fix without a forum.
Comment by Aaron Griffin (phrakture) - Monday, 26 November 2007, 19:44 GMT
Running "strings /usr/bin/ssh | grep xauth" gives me the correct path - are you sure that the issue is the path?
Comment by Jeff Tyson (inthemedium) - Monday, 26 November 2007, 19:56 GMT
That very same command gives me the path /usr/X11R6/bin/xauth .
Comment by Jens Adam (byte) - Monday, 26 November 2007, 20:06 GMT
It's /usr/X11R6/bin/xauth for /usr/bin/ssh and /usr/sbin/sshd on both 32bit and 64bit.
Comment by Aaron Griffin (phrakture) - Monday, 26 November 2007, 20:09 GMT
Yup, just noticed this - my 32bit machine still had -3. Apparently, this occurred during the core rebuild

Attaching Daniel as an FYI: I think xauth might be goofed on your machine 8).

I'll fix this when I rebuild for  FS#8373 
Comment by Aaron Griffin (phrakture) - Monday, 26 November 2007, 20:42 GMT Comment by Jeff Tyson (inthemedium) - Tuesday, 27 November 2007, 01:47 GMT
Works fine for me :-)
Comment by Jason Giangrande (odius) - Tuesday, 27 November 2007, 14:14 GMT
Works for me too.
Comment by Aaron Griffin (phrakture) - Friday, 30 November 2007, 16:50 GMT
Please confirm the packages in testing fix this
Comment by Jonas Jensen (jbj) - Monday, 03 December 2007, 17:09 GMT
The openssh-4.7p1-6 package in testing fixes the problem for me
Comment by Jason Giangrande (odius) - Monday, 03 December 2007, 21:01 GMT
The package in testing does indeed fix the problem. At least on my two boxes.

Loading...