Re: ssh -R only listening on lo

From: Greg Wooledge (wooledg_at_eeg.ccf.org)
Date: 09/16/05

  • Next message: Robin Green: "Re: chrooting only one usergroup"
    Date: Fri, 16 Sep 2005 08:28:06 -0400
    To: David Wolever <wolever@ftml.net>
    
    

    On Thu, Sep 15, 2005 at 07:57:17PM -0400, David Wolever wrote:
    > I was playing around with `ssh -R` last night, and found
    > that (even with -g, if that switch applies to this) ssh
    > would only listen on the loop-back (127.0.0.1) address.

    From sshd_config(5):

         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 address. 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
                 default is ``no''.


  • Next message: Robin Green: "Re: chrooting only one usergroup"