Using VNC Tunneling over SSH - page 3
Suppose I want to show the remote desktop user how I use an application on my laptop. He's still behind that firewall (with the SSH port routed to his desktop Linux machine) and I have a software firewall running on my machine. My firewall blocks all inbound ports.
In this case, everything sort of just works in reverse.
Again, the x11vnc server needs to be started. This time, it's on my laptop.I can again initiate the tunnel from my end, this time using the -R option. R stands for remote.
laptop> ssh xx.xxx.x.xx -o Compression=yes -o CompressionLevel=1 -R 5900:localhost:5900
Now, all the desktop user has to do is start up his vncviewer to watch what I'm doing on my laptop.
desktop> vncviewer localhost:0
Then, magically, whatever appears on my laptop screen also shows up in a window on the user's desktop.
When the educational/VNC session is completed, don't forget to re-configure the firewall rules to again block the SSH port.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: Linux 3.11, Kubuntu Goes Commercial
- 5Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x