Tunneling RDP over SSH with the version 6 RDP Client
ByI regularly use SSH to connect to customer systems and tunnel various different sorts of traffic through it (Telnet, ODBC, RDP etc). In certain cases, I have no other method of remote access to systems other than SSH.
This has not been a problem until I recently upgraded to Windows Vista which includes remote desktop connection v6, which will not allow connections to 127.0.0.1 on any port, it complains with the error message:
“The client could not connect. You are already connected to the console of this computer. A new console session cannot be established”
Which of course is true, if I were trying to connect to 3389.
So today after spending significant effort in the last couple of months I have found a simple solution to the problem:

I realize there probably are not that many people out there using SSH to tunnel RDP, but if you are then RDP 6 has been a real pain until now.
Thank you so much! You don’t know how many hours I spent combing the internet for a solution. I had submitted the problem to our syadmin and either they were ignoring me or couldn’t figure out the problem either.
Finally something that works, TY. There was another approach like this but that gave me the idea to use L127.0.0.2:3389 which didn’t work. And the compability mode approaches were just plain non-working (as they required so many other files too).
Thanks a bunch. I had a hard time figuring this one out as well. I originally was connecting using the old version of RDP Client (from XP) and it was working, but when I tried connection using RDP 6 I couldn’t figure out what I was doing wrong. Once I did, I looked for a solution, and yours was by far the most straight forward and easiest of the solutions. Thanks again.
Thanks, really needed that.
Yet another reason to hate Microsoft.
Thank you for this info. Yours was the first I came across with reference to localhost problems on Vista that worked.
Excellent article, the only reference I found to this issue that was understandable enough for someone new to RDC and SSH to be able to figure out.
Hi m8. Thx for the tip. I was going to jump out of the WINDOW ! and you saved my day. I am not using the crap in real but only in VMs and only because I have to (My job does require that !) Everyone, go get a Mac and run OSX. If you ain’t got the money, then switch to Unix/Linux and Co.
I am really angry because of the fact that one should pay so much for the Windows and then, still waste hours of the precious life to solve such issues.
This works fine, thanks a lot! You saved my day!