X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 22 Jul 2008 11:42:54 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ssh client disconnect error
Message-ID: <20080722094254.GE5251@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> <20080721135103.GC5251@calimero.vinschen.de> <loom.20080721T143613-890@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <loom.20080721T143613-890@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 14:50, luciop wrote:
> > 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?
> 
> i have check the hosts and the nslookup. 
> what tools to use for reverse lookup?

nslookup <numerical address>

> $less /etc/hosts
> 127.0.0.1       localhost
> 
> $ nslookup localhost
> Non-authoritative answer:
> Server:  UnKnown
> Address:  192.168.1.1:53

As I said, a DNS problem which you really should fix or let fix by your
local admin.  localhost should be resolved to 127.0.0.1 (IPv4) and/or
::1 (IPv6).  It's resolved to 192.168.1.1 plus a port number 53 which is
very wrong.  sshd will make a reverse lookup for 192.168.1.1, get a
machine name different from localhost and complains correctly about a
host name/address mismatch.


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/

