Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 4 Dec 2002 10:35:03 +0100 From: Olaf Foellinger To: cygwin AT cygwin DOT com Subject: Re: Problems using sshd as a service Message-ID: <20021204093502.GC1904@NBOF> Mail-Followup-To: cygwin AT cygwin DOT com References: <11dc01c29b78$3bfe2f50$1100a8c0 AT david1700> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <11dc01c29b78$3bfe2f50$1100a8c0@david1700> User-Agent: Mutt/1.5.1i On Wed, Dec 04, 2002 at 10:33:41AM +0100, David Brown wrote: > I am trying to get sshd to run as a service on my W2K SP2 machine. I have > got sshd set up properly (as far as I know), with all the keys and files it > needs. If I start a cygwin bash shell and type "/usr/sbin/sshd", then the > server starts fine and issues no errors or warnings. From another PC on the > network, I can ssh in to this PC. In other words, sshd is working > perfectly. > > However, when I install it as a service with > > cygrunsrv -I sshd -p /usr/sbin/sshd > > and then try to start the service, either with cygrunsrv or from the Control > Panel, I get: > > cygrunsrv -S sshd > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The service has not been started. Are your mounts type system or user ? system should be better. Gruss Olaf Föllinger -- Olaf Föllinger Berater S.E.S.A. Software und Systeme AG -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/