----- Original Message -----
From: "Gerald Timothy Quimpo" <[EMAIL PROTECTED]>
To: "PLUG" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 2:03 PM
Subject: Re: [plug] stunnel question


> On Thu, 2002-05-30 at 02:05, fooler wrote:
> > ssh -2 -N -f -L 12345:localhost:110 [EMAIL PROTECTED]
>
> i was wondering about that myself.  this is very helpful.
>
> but back when i was wondering about that, i also wondered how to
> have ssh automatically reconnect if the ssh link went down
> for whatever reason (usually because something about the tcp/ip
> link went down).

two options that i can think of

1. increase tcp keepalive timer to avoid shorten its connection timeout
2. write a shell script to trigger ssh again if ssh exits due to for
example, remote server rebooted or the link went down.

fooler.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to