Mail Archives: cygwin/2004/11/12/19:51:20
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 <cygwin at cygwin
dot com> 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/
- Raw text -