delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/11:46:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Wed, 3 Dec 2003 17:45:49 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh hangs
Message-ID: <20031203164549.GQ1640@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY13-F19w1WySvX5w0000013dd AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <BAY13-F19w1WySvX5w0000013dd@hotmail.com>
User-Agent: Mutt/1.4.1i

On Wed, Dec 03, 2003 at 11:09:09AM +0000, Ben Anderson wrote:
> Here's from /var/log/sshd/current:
> 
> Dec  2 07:18:37 [sshd] Did not receive identification string from 
> 141.100.110.69
>                - Last output repeated 4 times -
> Dec  2 17:22:08 [sshd] Accepted password for root from 192.168.0.100 port 
> 2035 s
> sh2
> 
> The first is my remote attempt to connect via cygwin and the second is a 
> local connection using Knoppix.  I'm running the server on port 80.  Does 
> it then switch to a higher port?  Could this be the problem remotely.  I 
> think I need it to stick with port 80(since it's runing through a proxy).  
> I also checked for /etc/hosts.allow and /etc/hosts.deny, but the don't 
> exist anywhere.

The port number you see is the port number of the client.

Something's pretty wrong with your settings.  Why don't you test 
without the proxy first?  It's way easier to figure out what's
wrong, if you have only the minimal number of processes involved.
Also it would be helpful tu run sshd with -d option to get some
debug output from the server side.

Your first mail also reports about a problem that sshd doesn't accept
version 2 protocol.  That's not very likely, except the key file is
not version 2 or the permissions on the ~/.ssh/authorized_keys file
are incorrect.  Also you can't use a RSA1 key with version 2 protocol.

> Advice?

I'd suggest you start from scratch, using the ssh-host-config and
ssh-user-config scripts.  This gives you a basic setup which should
work.  Then you can change the settings to your needs step by step.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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