Re: Binding ssh to a loopback address

From: Darren Tucker (
Date: 05/07/05

  • Next message: Darren Tucker: "Re: remote ssh for root"
    Date: Sat, 07 May 2005 15:31:30 +1000
    To: CP Lim <>

    CP Lim wrote:
    > I was trying to forward a remote port to one at local (but not
    > by doing :
    > ssh -b -L80:localhost:80 remotehost

    That's a local forward, but what you're describing is a remote forward.
      I'm assuming the command is correct but the description is wrong
    (since you also said it works w/out the -b.

    Anyway, that command will try to bind the client's end of the SSH
    connection to, so what you're trying to do is make an SSH
    connection from to your remotehost. Sending the connection
    out won't go anywhere (hence the "no route to host" error).

    What you need to do is this:

    ssh -L remotehost

    Darren Tucker (dtucker at
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
         Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.

  • Next message: Darren Tucker: "Re: remote ssh for root"

    Relevant Pages

    • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
      ... warning: Authentication failed. ... connection lost (Connection closed by remote host.). ... So, as you can see, I am trying to make an ssh connection with the ...
    • Re: [opensuse] Who does graphics rendering with ssh?
      ... I don't know if this helps the thread, but the way I would think of ssh is that ssh just gives you a terminal on the remote machine. ... When you add X11Forwarding you then have added the ability to run graphical applications on the remote and have them display locally. ... You are just adding a communication layer to what the basic ssh connection provides. ...
    • RE: Re: Remote connections
      ... Compliments of Cygwin you can setup a SSH server on ... connection through the SSH connection. ... Aside from creating a VPN tunnel and then performing a Remote Desktop ... Server Terminal Services and XP and 2003 server Remote Desktop machines. ...
    • Re: Do I need a VPN?
      ... Run an SSH server on your local PC - OpenSSH in your case, ... Schedule an outbound connect to your SSH server on the remote PC. ... port to a particular remote port. ... a connection from its 3G dongle, which is the only internet connection ...
    • Re: Connecting a remote workstation to a domain
      ... If you have more than a couple of remote workstations connecting to the SBS ... server via VPN, you really need to consider a Terminal Server in the main ... "Log in using a dial up connection" checkbox, ... roaming profile then synchronizes with the server over the VPN); ...