Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Fri, 12 Nov 2004 19:50:46 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin-xfree AT cygwin DOT com To: Nicholas Wisniewski cc: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com Subject: Re: Problems with ssh and tunnelling with cygwin 1.5.12 In-Reply-To: <000a01c4c8fd$567cd840$01f2e183@UCLA1> Message-ID: References: <000a01c4c8fd$567cd840$01f2e183 AT UCLA1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; FORMAT=flowed; CHARSET=US-ASCII; REPLY-TYPE=original Content-ID: X-Scanned-By: MIMEDefang 2.39 Note-from-DJ: This may be spam On Fri, 12 Nov 2004, Nicholas Wisniewski wrote: > Hello, > I'm trying ssh and tunnel to various machines. I can ssh just fine > without tunnelling (i.e. ssh user AT machine DOT net). When I try to tell ssh > to tunnel (ssh -X user AT machine DOT net), it prompts me for my password, and > then hangs. This is an X-related issue, and as such should go to the cygwin-xfree list. I'm redirecting my reply there -- please remove from further discussion. > When I look at the task manager, I see that sh.exe is taking up all of ^^^^^^ > the available CPU. If I kill sh.exe from the task manager, ssh ^^^^^^ > continues fine and I am connected and tunnelling. Is this really sh.exe? Can you check whether this sh.exe process is running before you start ssh (e.g., compare the outputs of "ps -ef" before and after "ssh -X")? 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? Are you running Cygwin's ssh? Are you running /usr/bin/ssh, or is ssh aliased to anything? Is your DISPLAY set when you run ssh.exe? Have you tried trusted X forwarding ("ssh -Y")? > I'm running XP pro, service pack 2. I've turned off the XP firewall and > Sophos virus programs and still get the same behaviour. The same behavir > happens on this machine with cygwin 1.5.11 as well. > > Has anybody ever seen this before? This doesn't sound like anything that's been reported before. 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/