Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: RDP via SSH Tunnel Windows 7 to Windows XP not working

15 Feb 2012   #1

Windows 7 Ultimate x64
RDP via SSH Tunnel Windows 7 to Windows XP not working

I am having a problem with Remote Desktop that I have not for the life of me been able to figure out. It involves going from a Windows 7 box to an XP Pro box via an SSH tunnel and I have yet to find a solution to the problem despite much Googling, reading and trying different ideas. So, on to the details of the problem.

My computer is running Windows 7 Ultimate x64 edition. I am on an internal office network in the 10.10.101.xx range. I have PuTTY running to a Linux box on the 10.10.95.xx range. These two networks are controlled by routers which limit traffic between them. I have SSH (port 22) punched through on my router so I can get to the 10.10.95.xx subnet. So, I have a tunnel from my Windows 7 machine to the Linux server. From there I attempt to connect to Windows XP Pro SP 3 machine which is part of a domain. This works fine from a Windows XP machine, incidentally. When I try to connect via a tunnel I have set up (localhost:3395 to, I get an error which says “Remote Desktop can’t connect to the remote computer for one these reasons: 1) Remote access to the server in not enabled 2) The remote computer is turned off 3) The remote computer is not available on the network”

Again, this exact same setup using Windows XP as the local machine works fine. Also, if I use the same setup to connect to a Windows 2003 Server or Windows 2008 Server it works without a problem (both servers exist on the 10.10.95.xx subnet). I have turned off the firewalls on both computers to make sure it is not a firewall problem.

Anyone run into a problem like this? Looking for any possible solution to this problem. Thanks for any help anyone can provide.

My System SpecsSystem Spec
16 Feb 2012   #2
Dave Atkin

Windows 7 Ultimate x64


If I understand you correctly, you are trying to remote in onto a Windows 7 Machine so that you can run your SSH software, is that correct?

The first thing is to check your RDP settings on the Windows 7 Machine - Right Click Computer and click properties. On the left hand side click Advanced System Settings. Click the remote tab and select the option for "Allow connections from computers running any version of remote desktop (less secure)"

Try the RDP again.

My System SpecsSystem Spec
16 Feb 2012   #3

Windows 7 Ultimate x64

I guess I wasn't clear. I am remoting in from a Windows 7 machine to a Windows XP Pro machine via an SSH tunnel. The tunnel is confirmed as correct as using the same tunnel, I can RDP from a Windows XP machine to the Windows XP Pro machine. I also can RDP from the Windows 7 machine via the tunnel to a Windows 2003 Server without any problem. I can also RDP locally from my Windows 7 machine to another machine runinng XP Pro on my local network not using a tunnel.

Somehow, my combination of Windows 7 x64 to Windows XP Pro via an SSH tunnel does not work. It is very frustrating.
My System SpecsSystem Spec

03 Mar 2012   #4

Windows 7 Ultimate x64

I finally figured it out. I had to set the route on the system I was SSHed into because it was going through a gateway to get to the XP machine I was trying to RDP into. I ran tracert to the host to figure out that it was going through the gateway and then issued route add -net gw eth0 which added the route through the gateway at Then RDP via the SSH tunnel worked like a champ. I am glad I finally figured this out and I hope this helps others with similar problems.
My System SpecsSystem Spec

 RDP via SSH Tunnel Windows 7 to Windows XP not working

Thread Tools

Similar help and support threads
Thread Forum
windows VPN - apply my own split tunnel?
Hi guys, I connect to my work via windows VPN, The only one address I connect to is my PC at the office, unfortunately we do not have split tunnel configured, and unfortunately since I don't want to use my company's proxy settings on my home PC when I connect to the VPN my internet access...
Network & Sharing
Teredo Tunnel Adapter is not working
So I have one of those yellow warning things on my PC in the control panel. The message is that the Teredo Tunnel Adapter is not working. Error 10. There's tons of "fixes" on the internet, but none of them work for me. It seems that the driver is OK. I tried the registry edit thing. Makes no...
Performance & Maintenance
How to setup VPN tunnel for Win 7?
Hello, A few years ago I followed the instructions on the zunta blog to set up a vpn tunnel from my work PC (win xp) to my home PC (win xp) using openSSH and putty. I’m not a network guy but I followed the directions and...
Network & Sharing
Problems sharing drives through VPN tunnel (Windows firewall issue)
I've got a problem with shared drives over the network through a vpn tunnel. Two PC's each behind a cisco router. PC1 is at XXX.XXX.1.1 PC2 is at XXX.XXX.2.1 PC1 has the shared drive. PC2 is trying to access it. If Windows Firewall is on with default settings, I can not ping or share...
Network & Sharing
Routing PC's through Windows 7 Tunnel
I setup an IPSec tunnel between a firewall at another location and My windows 7 Ultimate PC. My home lan is, and the Windows 7 machine running the tunnel is The other end of the tunnel is So here's the layout...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 23:31.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App