I want to connect to an Ubuntu machine from MAC far far away! I have the application Remoter that works like a charm for ssh and connecting to other Mac. However I don't know how to connect to an Ubuntu machine.
While the native way has been described correctly in the answer by robmathers above, you could simply install the same version of TeamViewer (currently that means installing version 8) on both Ubuntu and your Mac to get around the hassle of correctly setting up Firewalls, SSH tunnels and the VNC server. TeamViewer is free for private use.
In general terms, you'll need to:
- Set up a VNC server on the Ubuntu machine. This is the software that shares the screen.
- Set up a means of connecting remotely to the Ubuntu machine. If you can already SSH in, that's the best way, you can forward the VNC port over SSH by running this on your Mac:
ssh username@ubuntuhostname -L 5900:localhost:5900, replacing the
- Connect with VNC to the tunnel. You can do this with whatever client you like (including OS X's built in screen sharing), but the important part is that the hostname to connect to is
localhostand you use port
If you need more specific instructions, I suggest you do a search, as most of these topics have been covered in some detail elsewhere. Ask Ubuntu is the best place to go if you need Ubuntu-specific information.