Link to home
Start Free TrialLog in
Avatar of scottiesi
scottiesi

asked on

tunneling Win2K Terminal Services over SSH or zebedee

Hi,

I was wondering if anyone knew of tunneling Win2K Terminal Services over zebedee or SSH, or another type of high encryption protocol?

I'm looking to run Terminal Services over the internet, but I want want to tunnel it over (preferably) SSH-2, since I know that protocol.  Zebedee is a new protocol that I heard, but it's not feature complete.
http://www.winton.org.uk/zebedee/

Please let me know what your thoughts and experiences are.  Thanks.  

-Scott


Avatar of atreyu138
atreyu138

On the server machine, an SSH2 server such as WinSSHD must be installed. On the client machine, an SSH2 client, such as Tunnelier, must be configured so that connections on port 3389 will be forwarded to the Remote Desktop server. One must then direct the Remote Desktop client to connect to the SSH2 client instead of directly to the server, and the connection will be forwarded over the SSH2-secured link.
Avatar of scottiesi

ASKER

Hi,

Thanks for the input.  That sounds about right, but it's one step too many.  Is it possible to write a script, either batch or WSH script to automate that all in one step?  

Double click on the script and it will initiate the SSH connection, start up Terminal Service Client, and connect to the server.  I guess the script might have to do some monitoring perhaps.  

-scott
You can script the SSH connection fairly easily with the commercial SSH client from http://www.ssh.com/ and I am sure that you could do it with SecureCRT, putty (free) and others.

Here are the 2 commands you would have to run. I dont know much about WSH but this should be trivial.

ssh2 -l username sshserver.domain.com -L 3389:ts.domain.com:3389

c:\windows\system32\mstsc.exe /v:localhost

Unless you setup certificates this will require you to enter the SSH user password each time.

This will not work with XP, it will not allow you to try to connect to localhost with TS Client. It will with 2000.
ASKER CERTIFIED SOLUTION
Avatar of atreyu138
atreyu138

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi everyone,

This looks good so far.  
Hi atreyu138,

Excellent, this looks good.