[Bug 1602] ssh: doesn't handle IPv6 addresses with brackets

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 28 09:26:31 AEDT 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=1602

--- Comment #5 from Marc Herbert <marc.herbert+mindrot at gmail.com> ---
> ssh does _now_ support...

Could you be a bit more specific wrt the exact feature and timing?
Ideally refer to some changelog, commit, release note etc.?

> ...  the ssh: URI scheme that supports square-bracket delimited hostnames.

I don't understand how hostnames matter to this feature request 1602.
It was very specifically about literal IPv6 addresses.

For hostnames I expect ssh to merely invoke getaddrinfo and follow the
system policy in gai.conf or equivalent. Forcing IPv4 or IPv6 can
already be done with -4 or -6 so I hope hostname syntax is irrelevant
to IPv4/v6.

> We don't plan on changing this for plain hostnames, 

Why would ssh treat plain hostnames differently from FQDNs? For
anything, not just IPv6.

I see this has been closed as "WONTFIX" again so I'm not going to
re-open it again but I'm afraid I really don't understand the newer
rationale(s) either.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list