X-Spam-Check-By: sourceware.org Message-ID: <018401c6c020$692c5f80$84017ece@jabelxp> From: "Jay Abel" To: References: <44DDA5FF DOT 30305 AT szalbot DOT homedns DOT org> Subject: Re: sshd error - Could not load host key Date: Mon, 14 Aug 2006 18:08:00 -1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-2"; reply-type=response Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-IsSubscribed: yes 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 > Hi, > > I was trying to start sshd with cygwin under windows. > > I am getting the following error but the specified files exist in the > /etc dir. What else could be a problem here? Thanks a lot for your > input! > > 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. > > Zbigniew > Very often this is caused by a permissions problem -- sshd won't use private keys if group or other have read write or execute access to them. Applies to both user and host keys. You may need to restart the sshd service after you've fixed the permissions, which you can do by typing: net stop sshd net start sshd HTH Jay -- 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/