delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/01/06:45:31

X-Spam-Check-By: sourceware.org
Date: Wed, 01 Aug 2007 06:44:44 -0400
From: Jean-Claude Gervais <jc DOT gervais AT videotron DOT ca>
Subject: Re: SSHD install problem
In-reply-to: <f8o5kh$v80$1@sea.gmane.org>
To: Cygwin <cygwin AT cygwin DOT com>
Message-id: <1185965084.5941.1.camel@mercury.sprymusic>
MIME-version: 1.0
X-Mailer: Evolution 2.8.3
References: <1185909695 DOT 7366 DOT 8 DOT camel AT mercury DOT sprymusic> <f8o5kh$v80$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
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

Thorsten,

Thank you very much for trying to help me, I appreciate it. I have tried
many different things to get this working including erasing my old
cygwin folder and reinstalling cygwin.

The instruction you supplied executes without error, but when I try to
start the sshd service, it still will not start and looking in
the /var/log/sshd.log file, I still see the same error message.

Could my problems be caused because I am a Windows domain user?
When I ran bash the first time after reinstalling, it said I needed to
run a command and redirect its output to /etc/passwd and another command
redirected to /etc/group

After doing that I looked in those files and I noticed there were
hundreds of users listed, practically everyone from the domain I think.

I ended up erasing most of the lines, leaving my user, the sshd user,
SYSTEM, Administrators and Administrator in the passwd file, and not
touching the group file... Maybe I messed up...

Any help is appreciated, thanks.

J

On Tue, 2007-07-31 at 21:21 +0100, Thorsten Kampe wrote:
> * 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/
> 


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