delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/31/16:22:15

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: SSHD install problem
Date: Tue, 31 Jul 2007 21:21:36 +0100
Lines: 46
Message-ID: <f8o5kh$v80$1@sea.gmane.org>
References: <1185909695 DOT 7366 DOT 8 DOT camel AT mercury DOT sprymusic>
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

* Jean-Claude Gervais (Tue, 31 Jul 2007 15:21:35 -0400)
> Hello, after installing the very latest version of cygwin and running
> the sshd install script, I am having problems getting the ssh daemon to
> run:
> 
> $ /usr/bin/ssh-host-config
> Overwrite existing /etc/ssh_config file? (yes/no) yes
> Generating /etc/ssh_config file
> Overwrite existing /etc/sshd_config file? (yes/no) yes
> Privilege separation is set to yes by default since OpenSSH 3.3.
> However, this requires a non-privileged account called 'sshd'.
> For more info on privilege separation
> read /usr/share/doc/openssh/README.privsep.
> 
> Should privilege separation be used? (yes/no) yes
> Warning: The following function requires administrator privileges!
> Should this script create a local user 'sshd' on this machine? (yes/no)
> yes
> Generating /etc/sshd_config file
> 
> Host configuration finished. Have fun!
> 
> user AT host ~
> $ 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.
> 
> 
> user AT host ~
> $ telnet localhost 22
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> 
> 
> -.-.-.-.-.-.- contents of /var/log/sshd.log
> /var/empty must be owned by root and not group or world-writable.
> 
> 
> How can I resolve this?
> Thanks in advance

chmod 755 /var/empty


--
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