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: <039201c2feba$ea178fa0$8801090a@uk.circle.com> From: "Vince Hoffman" To: "Rob Siklos" , References: <004401c2feba$49589730$cc0aa8c0 AT adexainc DOT com> Subject: Re: problems with ssh Date: Wed, 9 Apr 2003 18:10:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 hmm which user is the service running as ? if it is running as SYSTEM (the default) then "chmod system /etc/ssh*" and see if that helps. ----- Original Message ----- From: "Rob Siklos" To: Sent: Wednesday, April 09, 2003 6:05 PM Subject: problems with ssh > Hello, > > I am using the latest cygwin modules from the installer. I have had cygwin > set up and working nicely for some time now, but today i just noticed that > sshd wasn't working anymore. > > Originally, I had it set up so that sshd ran under inetd (by uncommenting > the line in inetd.conf). When it's set up this way, I always get > "Permission Denied" after I enter my password. I'm pretty sure the user > system is set up correctly, since I can log in using telnet without any > problems. > > I tried running sshd as an independant service, however I can't get the > service to start. I get the following in the log: > > --- BEGIN /var/log/sshd.log --- > 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. > --- END /var/log/sshd.log --- > > I reinstalled cygwin and re-generated the host keys, but it still doesn't > work. The files DO exist, and have the following permissions: > -rw------- 1 rsiklos Administ 672 Apr 9 12:36 ssh_host_dsa_key > -rw------- 1 rsiklos Administ 529 Apr 9 12:35 ssh_host_key > -rw------- 1 rsiklos Administ 887 Apr 9 12:35 ssh_host_rsa_key > > Does anyone have any ideas or advice? > > Thanks in advance, > > Rob. > > > -- > 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/ > -- 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/