ssh -R only listening on lo

From: David Wolever (wolever_at_ftml.net)
Date: 09/16/05

  • Next message: Miro Dietiker, MD Systems: "AW: audit perspective: proof that all connections are encrypted"
    Date: Thu, 15 Sep 2005 19:57:17 -0400
    To: secureshell@securityfocus.com
    
    
    

    Hey,
    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.
    Is this something I'm doing wrong, or is this the way things
    are supposed to be? Is there a way I could work around it
    (with out starting ANOTHER tunnel the other way using -L
    from the remote host, that is >_~)?

    On my laptop, ssh -v gives me:
    OpenSSH_3.8.1p1, OpenSSL 0.9.7g 11 Apr 2005 (this is on a
    machine running OSX 10.4)
    On my server, ssh -v says:
    OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004

    Thanks,
    David

    -- 
      David Wolever - http://wolever.net/~wolever
      AIM: davidswolever MSN: david@wolever.net
      P: 416-769-0318 C: 416-906-0403
      "Without payment you have received; without payment you are to give."
           (Mat 10:8 ISV)
    
    



  • Next message: Miro Dietiker, MD Systems: "AW: audit perspective: proof that all connections are encrypted"

    Relevant Pages

    • Re: What is The SSH?
      ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
      (microsoft.public.windows.server.networking)
    • Re: reverse shell session
      ... I want to open a session on a client that connects to my server and makes ... a tunnel. ... You may ask why i want to do that, well the remote machine is behind a ... You could run an ssh server on the machine that's behind the FW on some ...
      (comp.security.ssh)
    • Re: "reverse" SOCKS with Putty
      ... I wish to make a tunnel in order to "forward" the LAN to my home ... there are no SSH servers on the network used to play at school. ... by the server to unilaterally set up forwarded connections, ... tunnels for your application in your SSH client. ...
      (comp.security.ssh)
    • Re: [kde-linux] Sound over ssh?
      ... There are of course, easier ways than to tunnel the stream using SSH, but I ... set up 'some kind' of server. ...
      (KDE)
    • Re: Tunneling SMTP Traffic Via SSH Question
      ... Since the server with ssh and the mail server seem to be the same, ... 127.0.0.1:25 as the tunnel destination. ... Tunneling SMTP Traffic Via SSH Question ... > pen testing experience in our state of the art hacking lab. ...
      (Security-Basics)