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 127.0.0.1 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 remote.server.com
But if you are using putty, here are some helper images:
and then Remote Desktop window:
and you are done.
Last Updated on Tuesday, 14 September 2010 13:40
Comments (1)
Add your comment
yvComment v.1.24.0
ssh -l username -L 127.0.0.2:3389:remotesystem:3389 remote.server.com