openssh-6.5p1-1 don't use address in /etc/hosts

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Feb 1 12:54:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140201/0507bc8e/attachment.sig>


More information about the Cygwin mailing list