X-Spam-Check-By: sourceware.org Date: Wed, 01 Aug 2007 06:44:44 -0400 From: Jean-Claude Gervais Subject: Re: SSHD install problem In-reply-to: To: Cygwin Message-id: <1185965084.5941.1.camel@mercury.sprymusic> MIME-version: 1.0 X-Mailer: Evolution 2.8.3 Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT References: <1185909695 DOT 7366 DOT 8 DOT camel AT mercury DOT sprymusic> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/