Re: ssh -R only listening on lo

From: Micha Borrmann (borrmann_at_syss.de)
Date: 09/16/05

  • Next message: Greg Wooledge: "Re: ssh -R only listening on lo"
    Date: Fri, 16 Sep 2005 11:05:27 +0200
    To: David Wolever <wolever@ftml.net>
    
    

    Hello,

    David Wolever schrieb:

    > 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.
    > This means I can't connect back down the tunnel from the
    > server to the client from anywhere except the server.
    > The command line I used was:
    > ssh -vgR 8888:mylaptop:80 myserver
    > I looked through the verbose output and couldn't find much
    > useful information.

    on the ssh server GatewayPorts is not set by default

    in the sshd_config

    GatewayPorts yes

    will help you. Another way is (e.g. if you can't modify the
    sshd_config), after login do on myserver:

    ssh localhost -D 8080:localhost:8888

    then it works too

    HTH,

    Micha


  • Next message: Greg Wooledge: "Re: ssh -R only listening on lo"