-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 overriden by specifying a bind_address. An empty bind_address, or the address '*', indicates that the remote socket should listen on all interfaces.
Et surtout la note suivante :
Specifying a remote bind_address will only succeed if the server's GatewayPorts option is enabled (see sshd_config(5)).
# man ssh
Posté par symoon . En réponse au message ssh et port forwarding. Évalué à 3.
-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 overriden by specifying a bind_address. An empty bind_address, or the address '*', indicates that the remote socket should listen on all interfaces.
Et surtout la note suivante :
Specifying a remote bind_address will only succeed if the server's GatewayPorts option is enabled (see sshd_config(5)).