How can I tunnel Windows Terminal Services using the Tectia SSH client?
asked Dec 29 '10 at 20:31
SSH KB ♦
SSH Secure Shell can be used to securely tunnel Terminal Services connections. For this to work, you will need the following software:
On the server side you need to ensure that TCP forwarding is allowed.
To set up tunneling using the SSH Secure Shell Windows GUI client do the following:
Open the SSH Client and go to Edit -> SSH Tectia Connections Configuration -> Connection Profiles -> (The profile you use for connecting to Terminal Services) -> Tunneling.
For tunneling Terminal Services you will only need to add one 'local' tunnel.
For Terminal Services traffic:
You should see that the Terminal Services traffic has been forwarded through the tunnel and you should be able to use the remote computer.
Note! Remote desktop client in Windows XP denies connections to loopback addresses both with hostname 'localhost' and IP address 127.0.0.1. Workaround is copying the two relevant files to another location and configuring the Remote Desktop client to function in 98-compatibility mode. In your \WINDOWS\SYSTEM32 directory, locate the files mstsc.exe and mstscax.dll, and move them to another directory. This will enable you to run the Remote Desktop client in Windows 98 compatibility mode. You can reach the relevant settings by right-clicking on mstsc.exe in its new location, and selecting Properties > Compatibility. When the program is run in Windows 98 compatibility mode, it does not appear to protest when connecting to localhost.
answered Dec 29 '10 at 20:39
SSH KB ♦