delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/29/07:45:38

X-Spam-Check-By: sourceware.org
Message-ID: <a5f030530604290445l4a2f9fb7yea44074749ec0274@mail.gmail.com>
Date: Sat, 29 Apr 2006 07:45:13 -0400
From: "Brett Serkez" <bserkez AT gmail DOT com>
To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com
Subject: SSH X11 forwarding hang work around
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3TBjXUX005976

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019