Mailing List Archive

[Bug 1602] ssh: doesn't handle IPv6 addresses with brackets
https://bugzilla.mindrot.org/show_bug.cgi?id=1602

--- Comment #6 from Marc Herbert <marc.herbert+mindrot@gmail.com> ---
Just did some more testing with OpenSSH_8.1p1 Apr 2020. It looks like
someone did the work to implement a new ssh://[brackets] syntax except
in the case where brackets are actually needed. Baffling.

So these now work:

ssh ssh://[host.local]:23
ssh ssh://[192.168.1.1]:22

Nice, but apparently pointless because no idea why anyone would use
brackets with IPv4 or hostnames. These work too:

ssh ssh://host.local:23
ssh ssh://192.168.1.1:22


Back to this bug, all these fail with the usage message:

ssh ssh://[2001:db8:1234::1]
ssh ssh://[2001:db8:1234::1]:22
ssh ssh://2001:db8:1234::1

As before, these all fail with "Name or service not known"

ssh [2001:db8:1234]
ssh [2001:db8:1234]:22


https://tools.ietf.org/html/rfc2732 Format for Literal IPv6 Addresses
in URL's

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1602] ssh: doesn't handle IPv6 addresses with brackets [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1602

Marc Herbert <marc.herbert+mindrot@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |---

--- Comment #7 from Marc Herbert <marc.herbert+mindrot@gmail.com> ---
> I see this has been closed as "WONTFIX" again so I'm not going to re-open it again

This was about not supporting this:

ssh [2001:db8:1234::1]

I'm tentatively re-opening now because I really can't find any reason
not to support this:

ssh ssh://[2001:db8:1234::1]

--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs