delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/03/17:32:20

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 AT mail DOT gmail DOT com>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019