delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <476E5B79.32FAFCE@dessent.net> |
Date: | Sun, 23 Dec 2007 04:58:33 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Struggling to setup sshd with Windows Vista |
References: | <96c450350712230222s3549d224m75974cd082bf71a3 AT mail DOT gmail DOT com> <96c450350712230448q14dc0ac3s34e85de08d9b6e9f AT mail DOT gmail DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Kevin Hilton wrote: > Just another thing that I have noticed: > > $ /usr/sbin/sshd -d -d -d -D That's a very bad idea. The daemon requires privileges that normal users (even administrators) don't have, so trying to run it like that as a normal user is just a recipe for breaking things. And even if you got it to work, you'd have to change all the permissions which were set up by the script for the daemon to be run as a service. > Who should be the owner of /var/empty. Right now I have: > drwxr-xr-x+ 2 SYSTEM SYSTEM 0 Dec 22 22:40 empty That's probably correct. You've got some indeterminate state of brokenness here. Delete the sshd user, delete the service, delete /var/empty, delete the sshd config files, recreate known good passwd and group files, and then just run "ssh-host-config -y" and let it create everything correctly. That is all you should ever need to do. Messing with things manually just leads to trouble unless you understand what's going on. 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 |