VNC over SSH tunnel and access from MacOSX
Posted in Software on 02/29/2012 06:25 am by royshiDuring my febbricitanza, a month ago, I was given back to computers … I had a fair amount of work left in the latex linux office workstation and I was frankly sick of going to ssh, scp and sftp (and for those who are vnc wondering, these are programs that use an encrypted protocol to access and control a remote computer).
He was not a big problem here on Mac Secure Shell is installed by default, and my favorite FTP client, Cyberduck that supports the sftp protocol to large, also with MacFUSE you can mount a remote disk as if it were an external drive , in full KDE style. So if the problem had been avoided only the terminal, you would set up in advance. It ‘s just that I would like to access your computer remotely using the graphical interface … and I came back to the good old vnc.
Who is a bit more practical than Linux could groped to access and use locally X programs by starting from the terminal, making sure you start ssh with the “-X-C”, but if you do not have a connection of at least one gigabit would be totally unnecessary and very very slow!
So I armed myself with patience and I looked for a way to start vnc on Linux workstation, connect via ssh (my wonderful firewall is configured to allow access only to port 22 and ssh, and have no plans to change this setting) on my laptop and open a vnc client to remotely manage but graphically my computer!
The recipe is quite simple, I just worry about security assuming you have a firewall configured like mine, so you can only access your computer via ssh and vnc connection can be activated only for localhost! I also assume that you know is at least install programs on your PC on your mac and linux.
On the workstation, as well as ssh, you need a vnc server. At the office I have a very very customized Ubuntu 8.04, but as vncserver I decided, after numerous tests, for tightvncserver.
On your mac you could install Chicken of the vnc, which works beautifully despite his age!
Check the full detail here VNC over SSH tunnel and access from MacOSX
More info at VNC & HTML5: Display the remote desktop via a web browser with Guacamole