delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/16/16:31:01

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
Date: Tue, 16 Nov 2004 16:30:32 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin-xfree AT cygwin DOT com
To: cygwin-xfree AT cygwin DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Problems with ssh and tunnelling with cygwin 1.5.12
In-Reply-To: <419A5986.9090701@physics.ucla.edu>
Message-ID: <Pine.GSO.4.61.0411161552090.7391@slinky.cs.nyu.edu>
References: <419A5986 DOT 9090701 AT physics DOT ucla DOT edu>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 16 Nov 2004, Nick Wisniewski wrote:

> Dave Korn wrote:
> > that ought to give you enough information to find out
> > what's wrong.  Try "ssh -v -v -v <rest of options>" and see what that tells
> > you.
>
> I try this and it hangs with a response:
>
> debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 	 /tmp/ssh-LuCdTO1472/xauthfile generate unix:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
>
> When I kill sh.exe from the task manager, it hangs again immediately with the
> response:
>
> debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2>/dev/null
>
> When I kill sh.exe again, it continues as normal.

On Fri, Nov 12, 2004, I wrote among other things:

> I don't recall any option that would make ssh start a shell on the local
> machine.  Are your ssh config files customized?  Are you running keychain,
> or autossh, or any other ssh-related scripts?

xauth is a script (well, a program).  What happens if you run those exact
commands from the command line?  Also, try stracing the ssh process (as
Dave Korn suggested) and see where sh hangs (use something like "strace -o
ssh.strace ssh user AT machine" and browse ssh.strace).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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