This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSH X11 forwarding hang work around


There have been several posts in regard to the ssh -X/-Y hang, with no
resolution.

A simplistic work around is to simply not use xauth.exe.  If the port
that the X server is running on (i.e. 6000 by default) is only
available via localhost, this should be reasonably secure vs.
validating individual connections.

Simply make xauth.exe unavailable with a command like:

mv /usr/X11R6/bin/xauth.exe /usr/X11R6/bin/xauth.exe.nohang

Then forwarding works:

$ ssh -Y target
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Sat Apr 29 07:33:41 2006 from example
$

Brett

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]