On Tue, Nov 10, 2009 at 11:17:58PM +0100, Vincenzo Romano wrote:
> ssh -N -n -R 127.0.1.1:139:somelocalhost:139 [email protected]

> What happens instead is that, upon ssh connection on the remotehost I
> see a listening socket on the interface 127.0.0.1!

     -R [bind_address:]port:host:hostport
             ...
             By default, the listening socket on the server will be bound to
             the loopback interface only.  This may be overridden by specify-
             ing a bind_address.  An empty bind_address, or the address `*',
             indicates that the remote socket should listen on all interfaces.
             Specifying a remote bind_address will only succeed if the serv-
             er's GatewayPorts option is enabled (see sshd_config(5)).

Reply via email to