delorie.com/archives/browse.cgi | search |
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 18:11:21 -0500 |
Lines: | 28 |
Message-ID: | <g347ig$gbr$1@ger.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> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
In-Reply-To: | <200806160024.16757.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: [snip] > $ cygrunsrv -I forward -p /usr/bin/ssh -a "-v -f -2 -N -L 5729:localhost:= 5729 user AT myhost DOT tld" -u root -w password > $ cygrunsrv -S forward > cygrunsrv: Error starting a service: StartService: Win32 error 1069: > Der Dienst konnte wegen einer fehlerhaften Anmeldung nicht gestartet werd= en. >=20 > which means in english: > The service could not be started because of an incorrect registration. > But I'm sure. Username and password are correct. The message in english: $ net helpmsg 1069 The service did not start due to a logon failure. Sorry I didn't realize your user name is "root", seems that cygrunsrv is=20 not able to change users which is a Windows capability option. You can use the other alternative (ssh -i ...) or add the required=20 rights or capabilities, or use stunnel instead of ssh. --=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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |