delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/16/17:27:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: start ssh port forwarding at boot time
Date: Mon, 16 Jun 2008 16:27:08 -0500
Lines: 30
Message-ID: <g36lqv$qsq$1@ger.gmane.org>
References: <200806152323 DOT 12778 DOT Matthias DOT Meyer AT gmx DOT li> <g34310$6nn$1 AT ger DOT gmane DOT org> <200806160024 DOT 16757 DOT Matthias DOT Meyer AT gmx DOT li> <g347ig$gbr$1 AT ger DOT gmane DOT org> <4855A506 DOT 9E860E2A AT dessent DOT net> <4855A6DB DOT 28986AED AT dessent DOT net> <loom DOT 20080616T151710-67 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <loom.20080616T151710-67@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Andrew Schulman wrote:

>> Oh, and on the topic of automatically setting up ssh port forwarding as
>> a service: OP should definitely use autossh.  This will keep the
>> connection alive if it drops, automatically restarting it as necessary.=
=20
>> Otherwise, the first time it dies the service will stop and the user
>> must manually restart it again.
>>
>> I've been doing this (autossh port forwarding) for years and it's
>> fantastically convenient.
>=20
> Agreed.  I don't do this any more, but I did do it for years, and once it=
 was
> set up, it automatically started at boot and the port forward was always =
just
> there-- I never had to think about it.
>=20
> /usr/share/doc/autossh-1.4a/README.Cygwin has information about how to se=
t this
> up using autossh and cygrunsrv.

Since you're the Cygwin maintainer of autossh, I have a question:=20
shouldn't the service be installed with "-y tcpip"? just like sshd, to=20
avoid problems at startup.

Thanks for the recommendation, I might start using it as well.
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019