solaris and Remote Port Forwarding

Kevin Steves stevesk at pobox.com
Tue Nov 20 12:42:13 EST 2001


On Mon, 19 Nov 2001, David F. Newman wrote:
:I just upgraded from 2.9p2 to 3.0.1p1 and good news.  I don't have to
:patch channels.c to get Remote Port Forwarding to work.  That is
:fantastic.
:
:It appears, however, that -g still doesn't work.  I checked the archives
:and it doesn't look like anyone has mentioned it yet.

ssh -g is for local forwards.

look at sshd GatewayPorts.  the documentation was clarified for 2.9.9/3.0:

     GatewayPorts
             Specifies whether remote hosts are allowed to connect to ports
             forwarded for the client.  By default, sshd binds remote port
             forwardings to the loopback addresss.  This prevents other remote
             hosts from connecting to forwarded ports.  GatewayPorts can be
             used to specify that sshd should bind remote port forwardings to
             the wildcard address, thus allowing remote hosts to connect to
             forwarded ports.  The argument must be ``yes'' or ``no''. The de-
             fault is ``no''.




More information about the openssh-unix-dev mailing list