Tunneling Remote Desktop through SSH
I just googled this "port forwarding remote desktop putty" and just realized this is easy. I am remote desktop'ing' from windows machines outside of my home network into my home LAN into my Windows XP machine. PuTTY and openSSH can make this easy, maybe even ultra easy!
Prerequistes:
1. A server running SSH (openSSH?) - of course this is a Gentoo Linux server at my house but it doesn't need to be. * Configuration for this is outside the scope of this blog.
2. puTTY - download to the computer that will be the client
Setup Putty:
PuTTY is a free software SSH, Telnet, rlogin, and raw TCP client. It is perfect for this.
1. Setup the Tunnel Port Forwarding in puTTY.
- Click on the Tunnel. (configure the Tunnel configuration)
- Enter a source port, this is the port on the local machine, 3390.
- Enter a Destination IP or name and port number of 3389 using a colon separator character. An example is for a Remote Desktop session to the PC machinewithRDP.
- Click the Add button
- Repeat for other hosts
[picture]
- Click on SSH (configure the high level SSH)
- Turn on compression
- Use only SSH 2
[picture]
- Click on Session (configure session)
- Save your settings
[picture]
2. Connect to the SSH server with your username/password
3. Start up Remote Desktop
- use the address of the port you setup in puTTY. localhost:3390
- click Connect
[picture]
You are done and connected! Nice work.
“