User Tools

Site Tools


unix:rdp_through_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unix:rdp_through_ssh [2010/03/06 01:39]
ben created
unix:rdp_through_ssh [2010/03/06 01:50] (current)
ben
Line 1: Line 1:
-===This is outdated and poorly formatted===+=== RDP via SSH tunnels created on the fly === 
 + 
 +This is pretty basic, and I gave up on the system eventually in favor of OpenVPN, which works beautifully. 
 + 
 +The script takes a remote host, the server you will ssh to, username, domain (I think "​."​ works for local?), a local port number to start with (this allows you to open another set of servers not on the same range of local ports), and finally all the hostnames you want to log into with rdesktop. ​ This all assumes you have ssh working, and that you have public key authentication configured correctly. 
 + 
 +It's not bad, but I wrote a [[unix:​osx:​rdesktop_script|better one]] which uses Mac OS X's keychain facility to get passwords and pass them to rdesktop, and which doesn'​t bother creating an SSH tunnel for every host.  Still, if you don't want to setup a VPN, this works pretty well and allows you to login to many, many servers at once.  I use the [[unix:​osx:​rdesktop_script|new script]] to login to dozens of servers at a time during Windows patch season. 
 + 
 +----
  
 Here's the code: Here's the code:
unix/rdp_through_ssh.1267857579.txt.gz · Last modified: 2010/03/06 01:39 (external edit)