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]

Re: Problems with ssh and tunnelling with cygwin 1.5.12


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@machine" and browse ssh.strace).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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