Bug 83279

Summary: krdc should support tunneling through SSH like xvncviewer
Product: [Applications] krdc Reporter: Mickael Marchand <marchand>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: CONFIRMED ---    
Severity: wishlist CC: jrubcop, justin.zobel, mschoell, nate, petr, river, rjrich, suson, toma
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mickael Marchand 2004-06-12 22:51:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Hi,

xvncviewer has the ability to forward a VNC session through ssh (it just starts a ssh tunnel in the background i think)

it would be great to have the same fonctionnality in krdc, I am not sure whether it's doable for all the protocols you support but for VNC it can be done.

man xvncviewer gives :
 -via Xgateway
   Makes the connection go though SSH to a gateway host. The gateway should be the target host for best connection secrecy.

in my situation when I need to remotely manage windoz boxes that are behind a firewall this is really usefull ;)

Cheers,
Mik
Comment 1 www.sjobeck.com 2006-05-09 18:59:34 UTC
I agree that there is a huge need for security here, but, well, I am not convinced, just as one individual out here in the wilderness, that this is the responsiblity of krdc to provide. There are tons of packages out there that do this, including the SSH wrapper tool in KDE, which works great for setting-up SSH tunnel before firing this guy up pointed at "localhost:44444" or whatever you choose.

There is also NoMachine, which is great, does this out of the box.

"rdesktop" has encrytpion in it for Windohs boxes.

VNC does not have encyrption, as you know, in the protocol, and it doe snot seem in our ability, nor our preview, to deal with that, since there are so many tried-n-true work-arounds and alternatives. I dont know if you have seen how long the buglist is for KDE, but one might argue that we ought not distract the dev's from the other important items.

Just this guy's $0.02.

Peace. Love. Linux.

Jason
Comment 2 Brad Hards 2006-07-31 14:51:35 UTC
*** Bug 105635 has been marked as a duplicate of this bug. ***
Comment 3 Urs Wolfer 2007-05-28 12:46:16 UTC
*** Bug 144972 has been marked as a duplicate of this bug. ***
Comment 4 Arnold Krille 2008-02-14 21:33:03 UTC
vote++

I have here an openvpn-tunnel (so security is not an argument) where I am using vnc across. While one of the vncservers on the other side is reachable just fine, the other has to be bridged via the central server. Works just fine with "vncviewer -via bla blub". Would be fine if that also worked in krdc. For example with urls like sshhost:vncserver:screen...

Otherwise krdc from kde4 is just great. Altough not as good with low bandwidths as tightvnc...
Comment 5 Urs Wolfer 2012-03-01 14:05:57 UTC
*** Bug 295137 has been marked as a duplicate of this bug. ***
Comment 6 Urs Wolfer 2012-03-01 14:06:18 UTC
*** Bug 256819 has been marked as a duplicate of this bug. ***
Comment 7 Petr Sedlacek 2012-11-13 09:15:06 UTC
I've been using remmina for quite a while and I liked the built-in ssh tunnelling feature. However remmina is plagued by many annoying bugs so I would like to move to krdc which seems to be much more stable.

It's easy to say there are other tools for tunnelling (which is true) but then the connection is not one-click. It's necessary to open the tunnel first, use a static tunneling port and then connect to the server. Built-in tunnelling feature would make krdc much more powerful.

Or at least give us option to run a background program before connecting - that would allow us to run ssh and open the tunnel automatically upon connecting to the server.
Comment 8 Justin Zobel 2020-06-01 00:33:00 UTC
Anyone interested in working on this? Poor bug hasn't had any love for a while.
Comment 9 Justin Zobel 2020-09-23 01:24:12 UTC
Resetting to default assignee (approved by Nate Graham) as no action on this bug for many years.
Comment 10 Jonathan Rubenstein 2021-01-04 23:03:13 UTC
Wasn't this resolved here?
https://phabricator.kde.org/D13659
Comment 11 Justin Zobel 2021-01-04 23:22:30 UTC
(In reply to Jonathan Rubenstein from comment #10)
> Wasn't this resolved here?
> https://phabricator.kde.org/D13659

It appears to be but I just tried to use it and it fails. I added in the ssh tunnel settings but it just errors saying it can't find the target hostname (it doesn't appear it's even trying the ssh tunnel as it is an instantaneous error).

(In reply to Petr Sedlacek from comment #7)
> I've been using remmina for quite a while and I liked the built-in ssh
> tunnelling feature. However remmina is plagued by many annoying bugs so I
> would like to move to krdc which seems to be much more stable.
> 
> It's easy to say there are other tools for tunnelling (which is true) but
> then the connection is not one-click. It's necessary to open the tunnel
> first, use a static tunneling port and then connect to the server. Built-in
> tunnelling feature would make krdc much more powerful.
> 
> Or at least give us option to run a background program before connecting -
> that would allow us to run ssh and open the tunnel automatically upon
> connecting to the server.

I actually worked around it by using a bash script to create the tunnel and launch krdc to connect to the locally mapped port. It's ugly but it works for me.