X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Chuck Subject: Re: problem installing cygwin+sshd Date: Tue, 20 Feb 2007 11:37:28 -0500 Lines: 84 Message-ID: References: <4750-32499 AT sneakemail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <4750-32499@sneakemail.com> 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 Michael wrote: > Hello, > > I'm trying to install cygwin+sshd on a WinXPPro-machine, but get an > error, when starting the service. > It would be great, if someone is able to help me find a hint for a > solution for this problem! > > Here a summary what I did: > - logged in with domain-user with local admin privileges > - installed cygwin > - - to c:\cygwin > - - for all users > - - with packages openssh v4.5p1-1, tcp_wrappers v7.6-1 > - added env-var CYGWIN and added cygwin-dir to PATH > - started cygwin and "ssh-host-config" > - - privilege separation -> yes > - - create local user sshd -> yes > - - install sshd as a service -> yes > - net start sshd > => > > --cut-- > $ net start sshd > The CYGWIN sshd service is starting. > The CYGWIN sshd service could not be started. > > The service did not report an error. > > More help is available by typing NET HELPMSG 3534. > --cut-- > > - cygrunsrv --start sshd > => > > --cut-- > $ cygrunsrv --start sshd > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The service has not been started. > --cut-- > > > other infos: > ### > eventvwr: > --cut-- > Die Beschreibung der Ereigniskennung ( 0 ) in ( sshd ) wurde nicht > gefunden. Der lokale Computer verfügt nicht über die zum Anzeigen der > Meldungen von einem Remotecomputer erforderlichen > Registrierungsinformationen oder DLL-Meldungsdateien. Möglicherweise > müssen Sie das Flag /AUXSOURCE= zum Ermitteln der Beschreibung > verwenden. Weitere Informationen stehen in Hilfe und Support. > Ereignisinformationen: sshd: PID 3940: `sshd' service stopped, exit > status: 255. > --cut-- > ### > no /var/log/ssh* files (???) > ### > file-permissions in /etc: > ls -l /etc/ssh* > -rwxr-x--- 1 SYSTEM mkgroup-l-d 1418 Feb 15 03:02 ssh_config > -rw------- 1 SYSTEM mkgroup-l-d 672 Feb 15 03:02 ssh_host_dsa_key > -rw-r--r-- 1 SYSTEM mkgroup-l-d 611 Feb 15 03:02 ssh_host_dsa_key.pub > -rw------- 1 SYSTEM mkgroup-l-d 984 Feb 15 03:02 ssh_host_key > -rw-r--r-- 1 SYSTEM mkgroup-l-d 648 Feb 15 03:02 ssh_host_key.pub > -rw------- 1 SYSTEM mkgroup-l-d 1675 Feb 15 03:02 ssh_host_rsa_key > -rw-r--r-- 1 SYSTEM mkgroup-l-d 403 Feb 15 03:02 ssh_host_rsa_key.pub > -rw-r--r-- 1 SYSTEM mkgroup-l-d 3039 Feb 15 03:02 sshd_config > ### > I also changed the dir-permissions of c:\cygwin, c:\cygwin\var and > c:\cygwin\var\log for "user" SYSTEM manually > ### > > what else can I check??? > > any ideas? > > thank you very much for any help! > br > mik > If all you want is an ssh server running under cygwin check out CopSSH. It might be easier to get running. -- 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/