delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/18/11:01:51

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: problem installing cygwin+sshd
Date: Sun, 18 Feb 2007 16:01:07 -0000
Lines: 40
Message-ID: <er9t87$61v$1@sea.gmane.org>
References: <4750-32499 AT sneakemail DOT com> <er5t5e$c7a$1 AT sea DOT gmane DOT org> <86772a380702170134r4cd6d72dwd588e8adcbd1daec AT mail DOT gmail DOT com> <er73an$s0h$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Thorsten
> Michael
> > [cannot start sshd as a service]
> > any ideas - what did I do wrong?
>
> Check the permissions from /var/log - sshd /has/ to log there. As a last
> chance I would try to run sshd manually: "sshd -D -ddd"

--cut--
$ /usr/sbin/sshd -D -ddd
debug2: load_server_config: filename /etc/sshd_config
debug2: load_server_config: done config len = 196
debug2: parse_server_config: config /etc/sshd_config len 196
debug3: /etc/sshd_config:13 setting Port 22
debug3: /etc/sshd_config:38 setting StrictModes no
debug3: /etc/sshd_config:92 setting UsePrivilegeSeparation yes
debug3: /etc/sshd_config:106 setting Subsystem sftp     /usr/sbin/sftp-
server
debug1: sshd version OpenSSH_4.5p1
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
/var/empty must be owned by root and not group or world-writable.
--cut--
$ ssh localhost
ssh: connect to host localhost port 22: Connection refused
--cut--

> and "strace  /usr/sbin/sshd -D"

see attached file.

where do I have to look at in the trace-file?

thanks and best regards
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