delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/15/17:54:18

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: Sun, 15 Jun 2008 16:53:41 -0500
Lines: 26
Message-ID: <g34310$6nn$1@ger.gmane.org>
References: <200806152323 DOT 12778 DOT Matthias DOT Meyer AT gmx DOT li>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <200806152323.12778.Matthias.Meyer@gmx.li>
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

Matthias Meyer wrote:

> I try to start port forwarding shortly after boot by using cygrunsrv.
>=20
> $ cygrunsrv -Q forward5729
> Service             : forward5729
> Current State       : Stopped
> Command             : /usr/bin/ssh -v -f -2 -N -L 5729:localhost:5729 use=
r AT myhost DOT tld
[snip]
> What should I do?

Run the service as your user so it can use your keys :

   -u, --user <user name>    Optional user name to start service as.
                             Defaults to SYSTEM account.
   -w, --passwd <password>   Optional password for user. Only needed
                             if a user is given. If a user has an empty
                             password, enter `-w '. If a user is given but
                             no password, cygrunsrv will ask for a password
                             interactively.

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