RDP through SSH Tunnel


Author
Message
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
Yes, it is possible to secure a remote desktop session by connecting through ssh tunnel.

You can use our console ssh client (ssh.exe located in the \pragma\clients folder)  to create the ssh tunnel and do RDP through it.Here are the steps that you need to follow:


Approach 1:

ssh -L 27000:winserver:3389  winserver   ;; run this in Windows 7machine

start mstsc in the Windows 7 pro and connect to"localhost:27000" to get a tunneled session to windows server machinenamed "winserver"


Approach 2:

ssh -g -L 27000:winserver:3389  winserver        ;; run this in Windows 7 machine andmake tunneled RDP available from any machine with the "-g" globalflag

start mstsc in any machine, connect to"windows7machine:27000" to get a tunneled session to windows servermachine named "winserver"


NOTE: Port 27000 was used as the source port in the examples above but you can use any available port. However, the source port likely has to be different ( not 3389 ) as most likely port 3389 is already running Microsoft RDP server listener and will not be available for ssh.


Thank you,


Technical Support Group (TSG)
Pragma Systems, Inc.



Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
anonymous123
anonymous123
Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)Supreme Being (173 reputation)
Group: Forum Members
Posts: 23, Visits: 23
Hi Pragma,

I would like to know whether or not it is possible to make RDP connection to a remote server through an SSH tunnel. Please post your reply as soon as possible.

Thank you.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search