Related Items  

Linux and Windows IT Support  


Windows, Apple and Linux IT support and services.

For Software and Web Development.

Remote Desktop over SSH in Windows 7


For reasons unknown, Windows 7 Remote Desktop Connection prevents connections to localhost, as a result you cannot tunnel to the RDP machine directly. (ie. 3389:remotesystem:3389) Trying to use hostnames and point to doesn't work either - the system recognizes that it is connected to localhost and gives an error.  (This was removed on XP with Service Pack 2, but then brought back)

A workaround for this issue is quite simple: use port 3391 as the source port (3390 doesn't work either for some reason).

I use openssh or cygwin's ssh to connect, using this:

ssh -l username -L 3391:remotesystem:3389

But if you are using putty, here are some helper images:


and then Remote Desktop window:


and you are done.


Comments (1)
Re: Remote Desktop over SSH in Windows 7
1 Tuesday, 03 January 2012 06:05
Alan S
You can also listen on instead of localhost and keep port 3389:

ssh -l username -L

Add your comment

Your name:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
yvComment v.1.24.0
Copyright © 1999 - 2022 Virtual Helpme | IT Services Catered to Your Business | Original Template: Allrounder