Re: Openbsd init script for ssh VPN tunnel

2012-08-21 Thread Paulm
> > But it *does* work without the -f flag. > > > > That's very strange, does it detach from the terminal without the -f ? Can't say for certain. Presumably it does, but the program immediately exits and returns. If it does detach, it's not perceptible. You might try writing your own script th

Re: Openbsd init script for ssh VPN tunnel

2012-08-21 Thread Luis F Urrea
> What's the -2 arg for in your script? I don't see it in the > manpage. > It just forces version 2 of the protocol > But it *does* work without the -f flag. > That's very strange, does it detach from the terminal without the -f ? Now that you mention this, I have one box suddenly rebooting af

Re: Openbsd init script for ssh VPN tunnel

2012-08-21 Thread Paulm
On Tue, Aug 21, 2012 at 07:59:30PM -0600, Luis F Urrea wrote: > I have a server hosting SSH tunnels and Openbsd 4.5 clients connecting to > it. > > Things work just fine but I am in the need of automating the connection > from the client to the server. So that if the client is accidentally > reboo

Openbsd init script for ssh VPN tunnel

2012-08-21 Thread Luis F Urrea
I have a server hosting SSH tunnels and Openbsd 4.5 clients connecting to it. Things work just fine but I am in the need of automating the connection from the client to the server. So that if the client is accidentally rebooted, then the connection initiates unattended. So it should be as straigh