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: <43045936.D69BBC8D@dessent.net> Date: Thu, 18 Aug 2005 02:47:34 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Windows hardening and system paths References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mikkel Rostock wrote: > > whether you set the permissions and ownership of files correctly > I haven't changed permissions for any files, since usually when I install it > on Windows XP this is not necessary. > > > created the proper user accounts > The service is set to use LocalSystem account This will not work. Under 2k3 you need to create a special user account and give it extra permissions. This is explained in /usr/share/doc/Cygwin/openssh.README. However, the details are not important because all the user-creation and permission-setting is done for you with the ssh-host-config script which I recommend you use. Trying to do this by hand can be difficult. > ---------------------------------------------------------------------------- > 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. > ---------------------------------------------------------------------------- You have not created the host keys. This is another task that ssh-host-config will automate for you. You probably don't have a /etc/sshd_config file either. I recommend that you remove all traces of whatever you've done by hand to install the sshd service and instead run the script. Brian -- 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/