delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/17/04:35:12

X-Spam-Check-By: sourceware.org
Message-ID: <86772a380702170134r4cd6d72dwd588e8adcbd1daec@mail.gmail.com>
Date: Sat, 17 Feb 2007 10:34:47 +0100
From: "Michael Manzenreither" <witty AT fsmat DOT at>
To: cygwin AT cygwin DOT com
Subject: Re: problem installing cygwin+sshd
In-Reply-To: <er5t5e$c7a$1@sea.gmane.org>
MIME-Version: 1.0
References: <4750-32499 AT sneakemail DOT com> <er5t5e$c7a$1 AT sea DOT gmane DOT org>
X-Google-Sender-Auth: 028e03c0c54c5e6e
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1H9Z05e007531

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019