X-Spam-Check-By: sourceware.org Message-ID: <018401c6c020$692c5f80$84017ece@jabelxp> From: "Jay Abel" To: References: <44DDA5FF.30305@szalbot.homedns.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@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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/