www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Windows hardening and system paths |
References: | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA5Mn/gf2eOki1anFw3+Z8M8KAAAAQAAAAdUTP2Nsdmkis5Ic8oMDPFAEAAAAA AT nsales DOT dk> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |