Hi Dave,

On Thu, 8 Jun 2000, David Pick wrote:

> The tunnel *will* close when the last connection closes. If you want
> to keep it open, you *have* to have a connection extablished which
> *you* control to make sure it stays open until that connection dies.
> You could use a control connection, but make sure it executes a
> harmless command which just waits on the server machine. You could
> arrange to forward a different connection which you keep open instead
> of using the control connection. But you need one or the other; unless
> you want to patch the code...

Thanks for your answer. Now I'm using:

  ssh -n -S +C -l user -L 8016:x.x.x.x:8016 customer-host sleep 100000

and it works like a charm.

Thanks // Tom
-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology, 
e-mail    : [EMAIL PROTECTED]         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to [EMAIL PROTECTED]
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

Reply via email to