Possible bug: ssh-host-config - getent when computer name is "-" (dash)
Thu Mar 24 22:12:00 GMT 2016
On Thu, Mar 24, 2016 at 5:45 PM, cyg Simple wrote:
> > the computer name "-" (dash) is illegal in the internet.
> Uh, that isn't true.
Yes, it is true.
> > See
> > https://en.wikipedia.org/wiki/Hostname
> > for a start about host name definitions.
> From this reference:
> "The Internet standards (Requests for Comments) for protocols mandate
> that component hostname labels may contain only the ASCII letters 'a'
> through 'z' (in a case-insensitive manner), the digits '0' through '9',
> and the hyphen ('-'). The original specification of hostnames in RFC
> 952, mandated that labels could not start with a digit or with a hyphen,
> and must not end with a hyphen."
> Note that hyphen (a.k.a. dash) is permitted.
The dash is permitted as _a_ character in a valid hostname, but is
explicitly prohibited as the first or last character. Being that in
this scenario it is the only character, it violates the prohibition on
both first and last character.
I would change the computer name.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin