main: unable to connect to host: Connection timed out (110)

William Hooper whooper "at" freeshell.org
Fri Aug 11 21:28:00 2006


Robert Van Overmeiren wrote:
> I connected!
>
>
> Logged into SSH gateway:
>
>
> $ ssh -X rvanovermeiren "at" merrimack
>
>
> Binded ports:

Not "binded", tunneled.

> $ ssh -f -N -C -T -l rvanovermeiren -L5902:localhost:5901 10.3.1.194

Notice that this is using the SSH port for communication.  That is why it
works when connecting directly to the VNC server doesn't.

> Then vncviewer:
>
>
> $ vncviewer [-shared] localhost:2
>
>
> How do I unbind the ports?

You close the tunnel by closing the SSH connection.

-- 
William Hooper