bugzilla-daemon at mindrot.org
2020-May-15 21:59 UTC
[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 at 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.
Maybe Matching Threads
- [Bug 1602] ssh: doesn't handle IPv6 addresses with brackets
- [Bug 1602] New: ssh: doesn't handle IPv6 addresses with brackets
- [Bug 1602] ssh: doesn't handle IPv6 addresses with brackets
- [Bug 1602] ssh: doesn't handle IPv6 addresses with brackets
- [Bug 1602] ssh: doesn't handle IPv6 addresses with brackets