Bug 625608 - IPv6 local port forward does not work as described in man-page
IPv6 local port forward does not work as described in man-page
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jan F. Chadima
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-08-19 18:28 EDT by Manuel Faux
Modified: 2010-09-14 04:40 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-09-14 04:40:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Manuel Faux 2010-08-19 18:28:06 EDT
Description of problem:
man 1 ssh describes:
> -L [bind_address:]port:host:hostport
>        IPv6 addresses can be specified with an alternative syntax:
>        [bind_address/]port/host/hostport or by enclosing the address in
>        square brackets.

Syntax with slashes - as described - does not work:
mfaux@reykjavik ~ % ssh -L '1234/::1/1234'
Bad local forwarding specification '1234/::1/1234'

Version-Release number of selected component (if applicable):

How reproducible:
Actual results:
If executing "ssh -L 1234/::1/1234 server" ssh closes with "Bad local forwarding specification '1234/::1/1234'".

Expected results:
ssh should interpret the syntax as described in the man page.

Additional info:
Workaround: Use "enclosing address in square brackets" method: "ssh -L '1234:[::1]:1234'".
Comment 1 Jan F. Chadima 2010-09-14 04:40:39 EDT
reported upstream as https://bugzilla.mindrot.org/show_bug.cgi?id=1819

Note You need to log in before you can comment on or make changes to this bug.