X-Spam-Check-By: sourceware.org Message-ID: <23633-46569@sneakemail.com> Date: Sat, 17 Feb 2007 11:00:32 +0100 From: "Michael" To: cygwin AT cygwin DOT com Subject: Re: problem installing cygwin+sshd In-Reply-To: <86772a380702170134r4cd6d72dwd588e8adcbd1daec@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Disposition: inline References: <4750-32499 AT sneakemail DOT com> <86772a380702170134r4cd6d72dwd588e8adcbd1daec AT mail DOT gmail DOT 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1HA0gCc010381 René Berber wrote: > Michael wrote: > > > I'm trying to install cygwin+sshd on a WinXPPro-machine, but get an > > error, when starting the service. > [snip] > > > no /var/log/ssh* files (???) > > Normal if it didn't run. > > > 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 > > Looks fine, you'll have to run mkpasswd and mkgroup to get proper users and > groups but I don't think this is a problem now; later it may be. > > > I also changed the dir-permissions of c:\cygwin, c:\cygwin\var and > > c:\cygwin\var\log for "user" SYSTEM manually > > Wrong, not needed and may make things worse. > > > what else can I check??? > > Just to make sure that all the libraries are there (they should be): > > $ cygcheck -f /usr/bin/cygz.dll /usr/bin/cygcrypt-0.dll /usr/bin/cygcrypto-0.9.8.dll crypt-1.1-1 openssl-0.9.8d-1 zlib-1.2.3-2 > Then check the output of: Service : sshd Display name : CYGWIN sshd Current State : Stopped Command : /usr/sbin/sshd -D stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Environment : CYGWIN="ntsec tty" Process Type : Own Process Startup : Automatic Dependencies : tcpip Account : LocalSystem > $ cygrunsrv -V -Q sshd > Service : sshd > Display name : CYGWIN sshd > Description : sshd > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/sshd -D > stdin path : /dev/null > stdout path : /var/log/sshd.log > stderr path : /var/log/sshd.log > Environment : CYGWIN="ntsec" > Process Type : Own Process > Startup : Automatic > Dependencies : tcpip, syslog-ng > Account : LocalSystem > ----------------------^^^^^^^^^^^ > > Is the last field the same? if not, try re-installing with a "local" user (with > Administrator or PowerUser privileges). any ideas - what did I do wrong? michael -- 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/