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: Sun, 15 Jun 2008 16:53:41 -0500 Lines: 26 Message-ID: References: <200806152323 DOT 12778 DOT Matthias DOT Meyer AT gmx DOT li> 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: <200806152323.12778.Matthias.Meyer@gmx.li> 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 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 Optional user name to start service as. Defaults to SYSTEM account. -w, --passwd 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/