Comment 5 for bug 61414

Revision history for this message
In , Lars Wilke (lw-lwilke) wrote : -g in combo with -R

Package: openssh-client
Version: 1:4.2p1-7
Followup-For: Bug #228064

The problem does not occur if one uses
GatewayPorts yes (server enforces bind to any interface)
GatewayPorts no (server enforces bind to loopback device)

If using 'clientspecified' on the server (server does what client says)
and issuing (on the client:)

   ssh -g -R 1234:bla:234 blubb

ssh should bind to all interfaces on blubb, as the docs say.
But it only connects to the loopback device.

But using

   ssh -g -R :1234:bla:234 blubb

works as expected.

When using -L instead of -R this problem does not occur.

regards
   --lars

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages openssh-client depends on:
ii adduser 3.85 Add and remove users and groups
ii debconf [debc 1.4.72 Debian configuration management sy
ii dpkg 1.13.18 package maintenance system for Deb
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libcomerr2 1.38+1.39-WIP-2005.12.31-1 common error description library
ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries
ii libkrb53 1.4.3-6 MIT Kerberos runtime libraries
ii libncurses5 5.5-1.1 Shared libraries for terminal hand
ii libselinux1 1.30-1 SELinux shared libraries
ii libssl0.9.8 0.9.8a-8 SSL shared libraries
ii zlib1g 1:1.2.3-11 compression library - runtime

openssh-client recommends no packages.

-- no debconf information