delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/19/07:33:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_40,J_CHICKENPOX_83,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: [1.5] Problem with OpenSSH on Windows Home Server (Win2003)
Date: Tue, 19 May 2009 13:32:40 +0200
Lines: 35
Message-ID: <guu5d4$hgv$1@ger.gmane.org>
References: <4A0CEE5B DOT 6060301 AT gmail DOT com> <4A10C051 DOT 3050401 AT gmail DOT com> <4A129310 DOT 9070502 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.80.0
X-IsSubscribed: yes
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

* Patrick Aikens (Tue, 19 May 2009 07:08:00 -0400)
> Patrick Aikens wrote:
> > Patrick Aikens wrote:
> >> I've installed cygwin 1.5 on my WHS box as Administrator. I've
> >> opened a cygwin terminal and executed the mkpasswd -l > /etc/passwd
> >> and mkgroup -l > /etc/group commands, executed ssh-host-setup and
> >> used privilege separation, and everything seems to have executed
> >> OK. I can ssh to that machine as Administrator just fine using
> >> password auth. However, I can't ssh in as any other user on that
> >> machine using password authentication - I get told that the
> >> password is incorrect, which I know it isn't. I can use key-based
> >> auth to login as any user, so I do have a workaround, but I'm
> >> curious as to why no user but Administrator can use password auth
> >> to log in? I've logged in via remote desktop as the user I wish to
> >> SSH as and ran ssh-user-config as that user (that's how I got the
> >> key-based login working). I haven't done that as Administrator,
> >> though, and it still lets me log in just fine there.
> >>
> >> Sorry if this is a bit rambling, but I've been working on this
> >> problem for a while and it's getting late where I am...
> >> cygcheck.out is attached.
> > 
> > So, is this expected behavior then? Is it only possible to log in as
> > the user that installed the server using password authentication?
> 
> Is 1.5 not supported anymore? I only see 1.7 questions getting
> answered, and nobody even tells me to get lost in 4 days... I
> apologize if I've violated some sort of mailing list rule with my ssh
> question, I thought I had fulfilled all the requirements of asking a
> question (including the cygcheck output), but it was late.

I don't think cygcheck will help in this case. Run ssh with -v's and 
sshd with -d's. Check the application eventlog and /var/log/...

Thorsten


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