X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: XP Pro on a corporate AD network and thus 'sshd'
Date:  Mon, 03 Apr 2006 16:31:47 -0500
Lines: 39
Message-ID: <e0s483$rtj$1@sea.gmane.org>
References:  <48bc40670604031402wcb041b1w526a83d69605ee8a@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <48bc40670604031402wcb041b1w526a83d69605ee8a@mail.gmail.com>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Michael March wrote:
> This is the first time in years I am working off a MSFT AD based
> corporate network. When I received my company issued laptop (running
> XP) I immediately installed Cygwin, of course.
>=20
> The first time I logged in it wanted me to run the make passwd /
> groups script.. that proceeded to create 11K entries in my passwd
> file.. and 5K entries in my groups file.  It made my personal home dir
> the one I use on the file server and stuff like that. I hope that is
> normal..
>=20
> Now that I am trying to get SSHD working, things seem to be falling
> apart. The problem I am having is that all the /etc/ssh* files are
> owned by my user name and not the 'sshd' username, so the daemon
> doesn't startup. Even when I change the UID of those files to 'sshd',
> I still get these errors:
>=20
> 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.
>=20
> Any ideas?

$ ll /etc/ssh*
-rwxr-x--- 1 rberber None 1.2K May 20  2004 /etc/ssh_config*
-rw------- 1 SYSTEM  None  672 Mar 18  2002 /etc/ssh_host_dsa_key
-rw-r--r-- 1 SYSTEM  None  600 Mar 18  2002 /etc/ssh_host_dsa_key.pub
-rw------- 1 SYSTEM  None  525 Mar 18  2002 /etc/ssh_host_key
-rw-r--r-- 1 SYSTEM  None  329 Mar 18  2002 /etc/ssh_host_key.pub
-rw------- 1 SYSTEM  None  887 Mar 18  2002 /etc/ssh_host_rsa_key
-rw-r--r-- 1 SYSTEM  None  220 Mar 18  2002 /etc/ssh_host_rsa_key.pub
-rw-r--r-- 1 rberber None 2.5K Apr  3 03:41 /etc/sshd_config

The UID is SYSTEM not sshd.  Did you use /usr/bin/ssh-host-config?
--=20
Ren=E9 Berber


--
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/

