ssh client disconnect error

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jul 22 09:43:00 GMT 2008


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/



More information about the Cygwin mailing list