Bug 84037

Summary: Add ssh tunnel transport protocol
Product: [Unmaintained] kio Reporter: Erik Schnetter <schnetter>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: finex, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Erik Schnetter 2004-06-26 16:36:48 UTC
Version:           3.2.2 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:                Linux (i686) release 2.6.6-1-686

It would be very nice to be able to specify ssh tunnels in URLs.  ssh can set up port forwarding tunnels between machines.  I imagine a syntax similar to

ssh-tunnel://intermediate.machine/http://destination.machine/path

which first uses ssh to set up a tunnel from my local to the intermediate machine.  It then connects to the tunnel on the local machine, which passes the http request to the intermediate machine, from where it is then sent to the destination machine.  (The ssh tunnel port numbers might also be specified, or could be chosen automatically.)

In terms of wget, the command would be something like

ssh -L 12345:destination.machine:80 -N intermediate.machine &
wget http://localhost:12345/path
(kill ssh, or keep it around for some time)

One application would be to allow people working from home to connect to web sites appearing to be connecting from a work machine.  This would permit people to access web sites from home which otherwise don't grant access.
Comment 1 Nate Graham 2018-04-24 21:26:51 UTC
Doesn't seem likely, sorry.