RDP to network servers through SSH

austincr48 asked 3 years ago

Is there a way I can ssh into a server(using puTTY) and rdp into servers on that network(Windows server 2003) I've been working at it for about 5 hours and I've given up so here's me asking for help.
Thank you so much!
-Me 🙂

2 Answers
Shnerdly Staff answered 3 years ago

Thanks for your question austincr48.

To my knowledge, Putty and SSH are for console connections. Though it may be possible, I'm not aware of a way to access a remote desktop through them.

For Remote Desktop access on a local network, I use TightVNC. If it's on a remote network, I use VPN and TightVNC

MoonPoint answered 3 years ago

Yes, you can establish an RDP connection using an SSH tunnel via PuTTY.

First, of course, you must have SSH server software running on the Windows Server 2003 system or another system. Microsoft does not provide SSH server software for Microsoft Windows systems, so I've used [URL="http://sshwindows.sourceforge.net/"]OpenSSH for Windows[/URL] on Microsoft Windows Small Business Server 2003 servers for this purpose. The software is free. Note: I've also used the software on Windows XP systems, but the software has not been updated since the 3.81p1-1 / 9 July 2004 version and I've not been able to get it to work on Vista nor Windows 7 systems.

I have notes on a problem I encountered with the installation of OpenSSH on a SBS 2003 server at [URL="http://support.moonpoint.com/os/windows/server2003/openssh-service-not-starting.php"]OpenSSH Server on SBS 2003 Problem[/URL], should you decide to try OpenSSH on a Windows Server 2003 system.

I've also used [URL="http://www.bitvise.com/winsshd"]WinSSHD[/URL] on Windows SBS 2003 servers. That is a commercial product with the current price being $99.95 per server.

On Windows Vista systems, I use CopSSH. I haven't installed it on a Windows Server 2003 system, but I would expect it to work on such a system. It is built on OpenSSH, but, unlike the OpenSSH for Windows software I mentioned above is being kept-up-to-date. It has a GUI for installation and management of the software.

For $39, you can download an installer file for the software and be permitted to install the software on up to 5 systems. The CopSSH website has pricing for installation on larger numbers of systems.

I have posted instructions on installing CopSSH on a Windows Vista system at [URL="http://support.moonpoint.com/blog/blosxom/2008/09/14#vista-installation"]CopSSH Installation on Windows Vista[/URL], which should also apply to Windows Server 2003 systems, should you wish to use that software to provide SSH server services.

For other SSH server applications that will run on Microsoft Windows systems, see [URL="http://en.wikipedia.org/wiki/Comparison_of_SSH_servers"]Comparison of SSH servers[/URL]

You can also have some other system functioning as an SSH server, rather than a Windows Server 2003 system, that you can log into via SSH and have "port forward" or "tunnel" the RDP connection to the target RDP server. I've posted instructions on how you can do this using PuTTY at [URL="http://support.moonpoint.com/os/windows/network/ssh/putty/putty-forwarding-rdp.php"]Port Forwarding RDP with PuTTY[/URL]. If you still experience problems, post details of the problem here and I may be able to help you get it working.

Know the answer? Login or sign up for an account to answer this question.
Sign Up