X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: start ssh port forwarding at boot time Date: Mon, 16 Jun 2008 15:21:42 +0000 (UTC) Lines: 18 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=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > 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. > 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. 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. /usr/share/doc/autossh-1.4a/README.Cygwin has information about how to set this up using autossh and cygrunsrv. Andrew. -- 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/