delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/21/20:14:16

X-Spam-Check-By: sourceware.org
Message-ID: <438270CE.9020604@cygwin.com>
Date: Mon, 21 Nov 2005 20:13:50 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: Jeff Sadowski <jeff_sadowski AT yahoo DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: sshd on windows 2000
References: <20051121230707 DOT 72926 DOT qmail AT web33505 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <20051121230707.72926.qmail@web33505.mail.mud.yahoo.com>
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

Jeff Sadowski wrote:
> I have one server that has a problem with sshd. And
> its a strange problem that I don't know what is
> causing it. Seems to be an authentication problem but
> I'm not really sure about that. Also there is a
> problem starting it.
> When I try starting it the server times out on start.
> it starts fine though if I start it with the following
> command.
> /usr/sbin/sshd -d -d -d (while looking for problems)

<snip>

> debug2: input_userauth_request: try method publickey
> debug1: test whether pkalg/pkblob are acceptable
> debug1: temporarily_use_uid: 500/513 (e=500/513)
> seteuid 500: No such process
> debug1: do_cleanup

<more snippage>


As always, if you're reporting a problem, please read and
follow completely the problem reporting guidelines found at:

> Problem reports:       http://cygwin.com/problems.html

Without this, I can only make a WAG based on the information you've
provided but it looks to me like you're starting 'sshd' from the command
line.  If that's so and you're not logged in as "SYSTEM", you can't
seteuid().  And lo and behold that's what the debug messages tell you! ;-)
Windows isn't UNIX/Linux (yes, I know this is quite a revelation) and
you cannot start 'sshd' from the command line and expect to connect as
anyone other than the user that started 'sshd'.  If what I just stated
is not obvious to you, remove your installation of the OpenSSH package,
remove all remnants of it ever being on your system, and reinstall it.
Read and follow the configuration instructions in
'/usr/share/doc/Cygwin/openssh.README'.    If, on the other hand, the
statements I made make sense to you, then you now understand that you
can only 'ssh' to this machine as the user that started 'sshd'.  Anyone
else will fail.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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