bugzilla-daemon at bugzilla.mindrot.org
2011-Oct-04  22:36 UTC
[Bug 1941] New: ssh -6 prevents ipv4 forwarding
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.
Possibly Parallel Threads
- [Bug 2029] New: ssh connection failure error message confusing when talking to dual IPv4/6 host
 - [Bug 1247] ssh-agent prevents use of group permissions to control access to agent socket
 - [Bug 1040] SSH only believes 127.0.0.1 is IPV4 localhost, not 127/8
 - [Bug 244] New: Remote port forwarding on solaris 8x86 doesn't work
 - [Bug 326] New: Bug in AFS token forwarding
 
