www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/16/11:22:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: Re: start ssh port forwarding at boot time
Date: Mon, 16 Jun 2008 15:21:42 +0000 (UTC)
Lines: 18
Message-ID: <loom.20080616T151710-67@post.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>
Mime-Version: 1.0
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: <cygwin.cygwin.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

> 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/

- Raw text -


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