|
RDP through an SSH tunnel |
|
|
Written by rancid
|
|
Wednesday, 28 September 2011 |
|
In the event that you are unable to successfully VPN to the MCECS network before attempting to RDP to a Windows box, you can use SSH tunneling to accomplish the same goal. To set up an SSH tunnel to allow you to RDP to an MCECS Windows box, follow these steps.
You can only connect to a single Windows box per tunnel that you configure like this. You can also only have one tunnel per port. If you need to connect to multiple Windows hosts, it is easier to RDP from the first Windows box to another.
From Windows Using PUTTY 1. Start Putty
2. Enter the hostname of a MCECS unix/linux box. In this example, I've chosen ruby.cat.pdx.edu.
3. From the Category list on the left, select Connection -> SSH -> Tunnels.
4. In the Source port field, enter an arbitrary unused port number. In this example, I've chosen port 6789.
5. In the Destination field, enter the hostname of the MCECS Windows box you want to RDP to, followed by :3389 (the RDP protocol's default port). Press the Add button. In this example, the host I've chosen is the terminal server ts.cecs.pdx.edu.
6. Press Open to connect to the unix or linux machine (in this case, ruby.cat.pdx.edu) you specified. Log in using your MCECS unix/linux credentials.
7. Leave the PuTTY window open, and run the Remote Desktop Connection client.
8. Connect to localhost:[port], where [port] is the arbitrary source port number you chose earlier (6789 in this example).
9. Log in using your MCECS Windows credentials. Be sure to prefix your username with 'CECS\' to specify the domain.
|
|
Last Updated ( Thursday, 15 March 2012 )
|