Bracket IPv6 Hostnames in URIs

Demi Marie Obenour demiobenour at gmail.com
Fri Oct 9 13:19:47 AEDT 2026


On 10/8/26 16:03, Chris Rapier wrote:
> Hey all,
> 
> Should bracketed IPv6 hostnames work in URIs? I'm running into an issue 
> using them and I don't know if it's something with me or if this is a 
> known issue.
> 
> sftp -6 'sftp://localhost6'
> 
> works
> 
> sftp -6 'sftp://[::1]'
> 
> fails.
> 
> Am I building the command incorrectly?
> 
> Thanks,
> 
> Chris

It's a known bug, for which I submitted a patch a while back.
Damien Miller wrote a new patch, which I reviewed, but I don't think
it has been applied yet.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20261008/6b82ddc9/attachment.asc>


More information about the openssh-unix-dev mailing list