On Fri, 17 Nov 2000 12:58:43 -0500
"Neal Ruskin" <[EMAIL PROTECTED]> asked:
>
>
> Does anyone know how to set up a "permanent" tunnel -- specifically, we want
> to create a tunnel that is always up. Can the ssh server daemon be
> configured to start and maintain a tunnel? If not, does anyone have a
> suggestion as to how to accomplish this?
>
> Right now, we have to have a user create an ssh connection themselves then
> create the tunnel -- if the user's session times out, or the process dies,
> the tunnel goes down with it...
>
> Any assistance would be appreciated!
You can use vtun or vnc or create a VPN with ssh/pppd. For the VPN see the Linux
(although it works on any of the ssh/pppd platforms) howto. Mine is almost (really,
REALLY close) as permanent as the net connection it is established across.
http://www.linuxdoc.org/HOWTO/mini/VPN.html
http://www.uk.research.att.com/vnc/sshvnc.html
On the rare occasions that the VPN between my two NetBSD machines goes down, the script
just auto-restarts it. In the VPN howto, use nodetach and the script becomes very
simple. If you choose that option and have trouble send me private e-mail I'll see if
I can help (if either side is NT or Windows don't waste our time, I know nothing about
them ... that's my story and I'm stickin' to it ;).
Good luck,
Paul