Hello all,
I want to send the '~C' escape to ssh followed by ie. '-L 1024:localhost:1024'
from the active ssh connection's shell, non-interactively from a script.
Is it possible? Or is there a better way to accomplish this?


I'm trying to build an idiot-proof menu for non tech savvy users to allow them
create a couple of tunnels to local services (on different ports), on demand.
The script needs to run a bunch of other stuff after adding the tunnels, so I
can't just tell them to pass '-L etc.' to the client..

-- 
Manolis Tzanidakis
http://mtzanidakis.com/
mtzanidakis[at]gmail[dot]com

Reply via email to