[Bug 1941] New: ssh -6 prevents ipv4 forwarding

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 5 09:36:04 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1941

             Bug #: 1941
           Summary: ssh -6 prevents ipv4 forwarding
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.8p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: gmccullagh at gmail.com


when I use either of

  ssh -CX -L 10443:172.20.0.1:443 <hostname>
  ssh -4CX -L 10443:172.20.0.1:443 <hostname>

where <hostname> has both a functioning A and AAAA record, I can
connect and use the port forward.  However, if I use:

  ssh -6CX -L 10443:172.20.0.1:443 <hostname>

I can't connect to the tunnel because seemingly the -6 prevents use of
an IPv4 address in any context.  

I had imagined the -4 and -6 were there to dictate what way ssh
connects only.  Apparently that was a misreading on my part but it
would be preferable to be able to separate the preference for an
IPv4/v6 ssh connection from the IP version used in any forwarded
connections.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list