RDP over SSH port forwarding?

Topics: Developer Forum, User Forum
Jul 1, 2009 at 1:50 PM


I occasionally connect to a windows host on another local network with rdp over a ssh port forwarded channel, ie I log into the ssh host with PuTTY like

"C:\Program Files\PuTTY\plink.exe" hostname -l userid-L 9002:windowshostname:3389 -C -N -pw password

then i do a terminal services connection to localhost:9002

Can terminals handle this in a smart way?

I would prefer to just click on a connection and having everything set up and be logged in to th windowshost in the other end automatically.


Jul 10, 2009 at 10:16 PM

On the New/Edit Connection dialog, the Execute tab will allow you to run a command line before initiating the connection.  The only downside is that I haven't found a way to tear-down the SSH connection when my RDP connection is closed.  I've opened an item (#23452) in the Issue tracker for a way to handle this.