NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
SSH Port Forwarding to the rescue (maybe) (Score:2)
Then, you just point your terminal services client at localhost:9876 and it should "just work" whilst the ssh connection is up.
Note that if you want to connect to the machine doing the port forwarding from somewhere other than "localhost", you'll have to add a -g flag.
If the terminal services server makes a connection back to the client, you'll have to fiddle around with the -R option, but that's pretty unlikely.
If TS uses UDP, then you're outta luck. Sorry. (unless anybody else knows how to forward udp over ssh?)
I use this technique to gain access to work's HTTP proxy, so I can view all the internal sites from home. Works like a champ!
-Dom
Reply to This