Subject: Re: sshd vs X11
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Jeremy C. Reed <>
List: tech-userlevel
Date: 11/04/2004 12:33:36
On Thu, 4 Nov 2004, der Mouse wrote:

> Trouble is, sshd thinks there's no xauth program, so it refuses X
> forwarding, even though I have a ~/.ssh/rc file in place.  (There is an
> xauth on the box, but it's not in /usr/whateveritis/... where sshd
> presumably expects it; that's why I'm doing the ~/.ssh/rc thing.)
> /etc/ssh/sshd_config has X11Forwarding set to yes (before this was done
> it simply refused forwarding outright; now I get
> Remote: No xauth program; cannot forward with spoofing.
> and still no forwarding).
> What's the appropriate bludgeon and where do I apply it to convince
> sshd that I do in fact know what I'm doing, and it should do X
> forwarding?  It seems arrogant to the point of being broken for sshd to
> insist on an xauth it knows how to run even in the presence of
> ~/.ssh/rc.

I've never used ~/.ssh/rc and I don't know any answer for this question.

But maybe you can also set up a ~/.ssh/config with XAuthLocation
specifying the location to your xauth.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links