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: openssh-6.5p1-1 don't use address in /etc/hosts


On Feb  1 09:12, Ola StrÃmfors wrote:
> Hi,
> 
> After upgrading openssh from 6.4p1-1 to 6.5p1-1, ssh to host names
> listed in /etc/hosts fails. /etc/hosts is actually a symlink to
> /cygdriv/c/Windows/system32/drivers/etc/hosts.

Not sure that's the actual reason.  getaddrinfo is a WinSock call
which, probably, never ignores its hosts file.

> % ssh centaur
> getaddrinfo: (null): Name or service not known
> ssh: connect to host centaur port 22: No such file or directory

(null) is the replacement string when printf'ing a NULL pointer as
string.  So it seems ssh called getaddrinfo with a NULL pointer for
node and service.

Can you call `ssh -vvv centaur' and see if the debug output gives
some clue as to what happens?


Corinna

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

Attachment: pgpcy5CFqosnY.pgp
Description: PGP signature


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