Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3DC04A84.2080408@dufair.org> Date: Wed, 30 Oct 2002 16:09:24 -0500 From: Jason Dufair User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021030 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: sshd install troubles Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi all - I've installed Cygwin and sshd at least a half dozen times, but for some reason, I'm having a time of it now. I have a fresh Windows XP install that belongs to a domain. I install the latest Cygwin (1.3.14-1) from right off of www.cygwin.com. I select openssh (3.4p1-5) and cygrunsrv (0.95-1) and leave all of the other pkgs as-is. (btw, I might suggest cygrunsrv as a package dependency for openssh. I'd be glad to submit a patch, but it seems like a bit of overkill to do so) I set up the CYGWIN system environment var as "binmode tty ntsec". I did a mkpasswd -d -u mydomainlogin >> /etc/passwd and mkgroup -d >> /etc/group Then I ran ssh-host-config. Answered yes to privelige separation, told it to create sshd user, told it to install as a service, let it use the defaults for the CYGWIN environment var and that was about it. Unfortunately, the service won't start. I get a Win32 error 1062. I've searched the archives, but found nothing relevant. The event log has errors, but nothing that seems worthy of reporting here. There's nothing in /var/log, either. When I try to run /usr/sbin/sshd from bash, I get Could not load host key: /etc/ssh_host_key Could not load host key: /etc/ssh_host_rsa_key Could not load host key: /etc/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. I tried setting permissions on the above files to 666, which works but then I get a problem with permissions on /var/empty. I've tried dozens of combinations of users, groups, and permissions on /var/empty to no avail. Plus, it seems like a Really Bad Idea to have those files as 666. Can anyone suggest a course of action? I'd be glad to submit a patch. I'm not sure where to start, however. Any pointers would be much appreciated. Thanks! -- Jason Dufair - jase AT dufair DOT org http://www.dufair.org/ "Every word is like an unnecessary stain on silence and nothingness." -- Beckett -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/