This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Warning: No xauth data - ssh looking for xauth in wrong location?
- From: Chuck <chuckh1958 at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 14 Nov 2008 16:06:59 -0500
- Subject: Re: Warning: No xauth data - ssh looking for xauth in wrong location?
- References: <gfk1rd$edd$1@ger.gmane.org>
- Reply-to: cygwin-xfree at cygwin dot com
Chuck wrote:
> Started getting this warning on ssh sessions that forward X11 after
> upgrading to the new X11 package yesterday. I forward X11 on all ssh
> connections via a line in ~/.ssh/ssh_config. I don't really understand
> X11 security (and never needed to up until now). Can someone please tell
> me how to fix this warning or point me to a resource that explains what
> it is and how to fix it? Google returned about 50 million hits and all
> I've found so far is messages from other people either asking the same
> question, or saying to just ingore it. I'm not the type who likes to
> just ignore a warning if it can be fixed properly.
Found this setting in the man page for ssh_config: XAuthLocation. It
defaults to /usr/X11R6/bin/xauth which is the *OLD* location for the
xauth program. I installed the new xauth program which gets placed in
/usr/bin, and added the following line to my ~/.ssh/config file...
XAuthLocation /usr/bin/xauth
Now when I connect to a remote host with X11 forwarding on I get this
warning...
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Would appreciate any help in getting rid of these annoying warnings. Thanks.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/