Suggestion for -G option for remote ports to be forwarded, analogous to -g option for local ports (-L) to be forwarded.
peter at stuge.se
Thu Oct 28 17:56:16 EST 2010
Michael Mess wrote:
> When forwarding local ports with -L these ports can be made accessible
> to the local net with the -g option.
> For remote ports, forwarded with -R this option does not apply. It would
> be nice to have a -G option which does the same on the remote machine
> for the remote net, depending on the remote users rights.
Damien Miller wrote:
> search for "GatewayPorts" in man sshd_config.
Also note that this is and should be a sshd setting. I don't think
it's a very good idea to allow a client to specify the forwarding
policy on the server.
More information about the openssh-unix-dev