How to tunnel Windows Remote Dektop through two machines

5

I have the following situation - I actually made this little diagram for you:

Which commands do I need to issue where in order to be able to remote access the Windows XP machine "B"? I know that it is firewalled and thus I can only get to it via computer "A".

On my client side, I can use OS X or Windows 7, that doesn't really matter.

slhck

Posted 2011-03-11T17:35:20.020

Reputation: 182 472

Answers

4

Try:

ssh -L3390:address-of-machine-b-from-a:3389 user-at-machine-a@address-of-machine-a

Then RDP will be available locally at port 3390.

cbz

Posted 2011-03-11T17:35:20.020

Reputation: 741

That would be in OS/X that would. – Majenko – 2011-03-11T17:49:00.210