This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh client disconnect error


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]