Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Java/Open Source Daily
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







Using VNC Tunneling over SSH
Server Here, Watch There

Rob Reilly
Monday, January 30, 2006 11:42:24 AM

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.

Next: Expanding The Technique »

Skip Ahead

1 Temporary Access
2 Server There, Watch Here
3 Server Here, Watch There
4 Expanding The Technique





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers