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?= Subject: Re: start ssh port forwarding at boot time Date: Mon, 16 Jun 2008 16:27:08 -0500 Lines: 30 Message-ID: References: <200806152323 DOT 12778 DOT Matthias DOT Meyer AT gmx DOT li> <200806160024 DOT 16757 DOT Matthias DOT Meyer AT gmx DOT li> <4855A506 DOT 9E860E2A AT dessent DOT net> <4855A6DB DOT 28986AED AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/