Comment 0 for bug 61414

Revision history for this message
In , wave++ (wavexx-yuv) wrote : ssh: remote port forwarding (-R) binds always to localhost (ignores -g)

Package: ssh
Version: 1:3.6.1p2-11
Severity: normal

ssh -g -R port:localhost:port remotehost

netstat -l on remotehost shows:
tcp 0 0 localhost:port *:* LISTEN 22470/sshd: wavexx
tcp6 0 0 ip6-localhost:port *:* LISTEN 22470/sshd: wavexx

Using -g should use INADDR_ANY, not localhost.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux hydra 2.4.23-xfs #3 Tue Jan 13 17:35:40 CET 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages ssh depends on:
ii adduser 3.51 Add and remove users and groups
ii debconf 1.4.4 Debian configuration management sy
ii dpkg 1.10.18 Package maintenance system for Deb
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libpam-modules 0.76-15 Pluggable Authentication Modules f
ii libpam-runtime 0.76-15 Runtime support for the PAM librar
ii libpam0g 0.76-15 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7c-5 SSL shared libraries
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.2.1-3 compression library - runtime

-- debconf information excluded