Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to RDP to a terminal windows server 2003 OS and then RDP from there to my destination remote host. Same thing to SSH, first SSH to a CentOS via putty, then SSH to my destination remote CentOS host.

This is actually 2 different questions but same purpose. Is there any tool that can tunneling my connection, so I can directly RDP/SSH to destination. Thanks.

share|improve this question
    
tagged [ssl] because you mention SSL twice, but the question reads as if "SSL" is really a typo for "SSH". please correct or clarify. –  quack quixote Jun 20 '10 at 4:34
add comment

2 Answers 2

up vote 0 down vote accepted

Your situation may not permit this, but if you can upgrade the publicly accessible server to Windows Server 2008, you can use Remote Desktop Gateway (also known as Terminal Services Gateway) to use the publicly-available computer to tunnel RDP sessions.

For SSH, although I don't know if you can do it in one step, you can use PuTTY to set up a local port which tunnels through the remote server and redirects to the second (internal) server. Then create a second PuTTY session to localhost using whichever port number you set up. This sounds like it's even more difficult than just using SSH in an SSH session like you have been doing.

share|improve this answer
add comment

The RDP is pretty easy, I do it regularly as a kind of poor-man's VPN access.

When setting up your session, down in the SSH options are the tunneling options. You'll want to forward your local 3389 port to the remote's 3389 port. Once you've established your RDP session, connect to "localhost" and it should just come up. If the station you're on also has RDP enabled, forward port 3390 to the remote's 3389 port. You'd then connect to "localhost:3390".

SSL is much the same. Forward 443 to the remote's 443, and then you'd connect your browser to "localhost:443". It works, but expect all kinds of certificate validation failures when you do this, though.

share|improve this answer
    
Can you be more clear, please? In 2nd & 3rd paragraph, what client are you referring to? I am assuming 3rd is using putty. What about 2nd one? Thanks. –  Stan Jun 20 '10 at 6:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.