X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 21 Jul 2008 15:51:03 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ssh client disconnect error
Message-ID: <20080721135103.GC5251@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <loom.20080720T174224-182@post.gmane.org> <loom.20080721T103922-629@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <loom.20080721T103922-629@post.gmane.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jul 21 10:45, luciop wrote:
> luciop <lucio_piccoli <at> hotmail.com> writes:
> 
> > 
> > hi all
> > 
> > i cant connect to my local sshd using vista home. 
> > after numerous attempts to install (10) i have read every posting on this issue
> > but still my problem persisted.
> > i have my mcfee fiewall turned off.
> > 
> > the error 
> > ssh_exchange_identification: Connection closed by remote host is produced.
> 
> after checking the windows event log the following error is reported
> 
> sshd: PID 5176: warning: /etc/hosts.allow, line 11: host name/address mismatch:
> 127.0.0.1 != lucio-PC
> 
> 
> why is the windows machine name being passed through instead of local host?
> 
> when i used 
> 
> $ssh -vvv lucio-PC 
> 
> works fine.
> 
> why have i done to not make localhost work?

Looks like a DNS problem.  Do you have a 127.0.0.1 <-> localhost mapping
in your $SYSTEMROOT/system32/drivers/etc/hosts file?  Does forward and
reverse lookup for localhost and 127.0.0.1 work outside of sshd?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

