Message: previous - next
Month: May 2014

Re: [trinity-devel] krdc and ssh

From: Julius Schwartzenberg <julius.schwartzenberg@...>
Date: Sat, 24 May 2014 13:13:24 +0200
Darrell wrote:
>> Yep, if you set up an SSH tunnel, Trinity's krdc will have no problems
>> connecting over it. I've done this a lot with both RDP & VNC.
> Thank you. Would you please post some TDE krdc specific instructions? I have been trying to do this with no success, even after following online tutorials. Then again, I don't claim to be the brightest bulb in the pack.

There shouldn't be anything krdc specific about it. The main thing you
need to know is the TCP port number for VNC this is 5900 (for display 0,
display 1 will have 5901, etc.) and for RDP this is 3389.

To set up an SSH tunnel, you use the following syntax:
ssh -L localport:remotehost:remoteport user@hostname

This will forward remotehost's remoteport to localport over the SSH
connection establish with hostname.

The alternative:
ssh -R remoteport:a_localhost:a_localhostport user@hostname

This will forward everything to remoteport on hostname from
a_localhost:a_localhostport. This would be a reverse tunnel.

If you have a system with both VNC and SSH running on it, you could use
ssh -L 5900:localhost:5900 user@system_with_vnc+ssh

And then use localhost:0 (which would be localhost, port 5900) to
connect in krdc. If you would already run a local VNC server, go up one
ssh -L 5901:localhost:5900 user@system_with_vnc+ssh
and in krdc use localhost:1

If you detail your specific sitation a bit, I could explain it better I

Good luck!