Thursday, November 10, 2005

Windows file sharing over SSH

So now I took it a step further and connect to windows shares over SSH. There are great instructions for this here

Thursday, November 03, 2005

VNC over SSH

WARNING!! the following will be a bit of geek speak

Today with the help from a friend I discovered the ability to connect via VNC to my home Windows XP machine by way of my Linux box using SSH. Ok, so what does that mean to me? I can now take my Windows machine behind my firewall and no longer expose it to the world with an open VNC port.

To make this connection I use PuTTY, a SSH client to connect to my Linux box. This basic connection is very simple; this is how I normally connect to my Linux box.

The first step is to configure PuTTY as follows:

Host Name: [myhomenetwork.net] (the IP address or URL of your network)

Port: [22]

Tunnels/Source Port: [8901] (this can be any port of your choosing)

Tunnels/Destination: [192.168.1.188:5900] (the address of the XP machine with VNC Server, 5900 is the default port for VNC)

Once you connect to the Linux box with PuTTY and log in, you can then open a VNC viewer window and use the host name [localhost:8901]

You should now be connected to the VNC server through a SSH Tunnel.