Results 1 to 1 of 1
Thread: Any scripts to create tunnel?
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2006
Any scripts to create tunnel?
Has anyone here written any scripts that can open/manage a tunnel?
I'm looking for some scripts that allows me to open a list of tunnels (maybe from a configuration file) and then it manages it by detecting if the tunnel is still active/usable and create a new one if needed.
I'm doing this manually by
ssh -v -g -L localport:targetserver:targetport gateserver:gateport cat -
if i do this:
ssh -v -g <b>-f</b> -L localport:targetserver:targetport gateserver:gateport cat -
it dies almost immediately...
If anyone here has some scripts that are able to perform something like this, hope you can share with me.