Ubuntu to Ubuntu VNC over SSH tunnel

Posted by rxt on Stack Overflow See other posts from Stack Overflow or by rxt
Published on 2010-06-08T10:29:49Z Indexed on 2010/06/08 11:22 UTC
Read the original article Hit count: 422

Filed under:
|
|
|
|

I have a Linux Ubuntu desktop at home, ssh enabled, vnc server installed, router rule configured. It all works, and at home I can connect via the local network from my Mac. From the outside I can login via ssh.

I've configured putty as follows:

  • session: host name and port number
  • connection > ssh > tunnel: forwarded ports: L5900|192.168.0.23
  • the local address is: 192.168.1.45

When I make the connection I can login to the remote machine.

Then I open Remote Desktop Viewer.

  • I click connect
  • protocol: vnc
  • host: ?
  • use host as ssh tunnel: ?

I don't know what to use for the last two options. Which ip-addresses should I use?

© Stack Overflow or respective owner

Ubuntu to Ubuntu VNC over SSH tunnel

Posted by rxt on Super User See other posts from Super User or by rxt
Published on 2010-06-08T10:29:49Z Indexed on 2010/06/08 13:23 UTC
Read the original article Hit count: 422

Filed under:
|
|
|
|

I have a Linux Ubuntu desktop at home, ssh enabled, vnc server installed, router rule configured. It all works, and at home I can connect via the local network from my Mac. From the outside I can login via ssh.

I've configured putty as follows:

  • session: host name and port number
  • connection > ssh > tunnel: forwarded ports: L5900|192.168.0.23
  • the local address is: 192.168.1.45

When I make the connection I can login to the remote machine.

Then I open Remote Desktop Viewer.

  • I click connect
  • protocol: vnc
  • host: ?
  • use host as ssh tunnel: ?

I don't know what to use for the last two options. Which ip-addresses should I use?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu