problem installing cygwin+sshd

Michael Manzenreither witty@fsmat.at
Sat Feb 17 09:34:00 GMT 2007


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/



More information about the Cygwin mailing list