Bracket IPv6 Hostnames in URIs

Chris Rapier rapier at psc.edu
Fri Oct 9 07:03:30 AEDT 2026


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


More information about the openssh-unix-dev mailing list