X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=rHl9zAvJHxzdTSjb
	gMSAfIL/6/8xgs/WnHNxD/6VbdBxgy/SZKJJ3anEMKuvl7zWHo831kc1O0w28STn
	Jlre2PgNUOufXmzbF+o+c5jv17DaCkKP5EX89fmp3T5z70HGhFESgZFhEsnF32Ry
	zuopiTMaZt+q5ipQkGj70uk8GOU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=ltcL1JUq+ljbz2xOlTHrns
	bGrVY=; b=bWbSqsnAkdcfaKd8f9Du5UVYw6CpjCY3uVzSi9HcJHbdmYj0zWB1S5
	kFzSXAkMDdvk9z+nWLs5Ps3CWZ1Xydx3MfPbCPm8LBcAIUSRN0eDd0mPHHVJ9pTj
	Esg/La9kcZSUJmZLRGwps+XpI0rPZsb6X8naKxnR6bXPaqp24lw7U=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL,TW_MK autolearn=no version=3.3.1
Date: Mon, 1 Jul 2013 19:55:39 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <7010185028.20130701195539@mtu-net.ru>
To: Evan Rowley <rowley.evan@gmail.com>, cygwin@cygwin.com
Subject: Re: Can SSH from localhost as Admin but NOT 'regular' user when using passwords
In-Reply-To: <CAMhuX2Dzn9A8G3iUW95y_KxUPU7UJ7uaXKuDz1dmjK0swF8jtg@mail.gmail.com>
References: <CAMhuX2Dzn9A8G3iUW95y_KxUPU7UJ7uaXKuDz1dmjK0swF8jtg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Evan Rowley!

> I'm tasked with setting up SFTP serving on 2 Windows Server 2003 VMs.
> One of these installations has been giving me problems and I'm not
> sure what the solution is.

> The following command works fine when run as Administrator and
> SFTP_User in these two configurations: (password,keyboard-interactive)
> only and (password,publickey,keyboard-interactive)

> ssh Administrator@localhost


> The following command fails when run as Administrator and SFTP_User in
> this configuration: (password,keyboard-interactive)

> ssh SFTP_User@localhost


> The following command works fine when run as Administrator and
> SFTP_User in this configuration:
> (password,publickey,keyboard-interactive)

> ssh SFTP_User@localhost


> In each scenario, I've double, tirple, quadruple checked to make sure
> the SFTP_User password is entered correctly. Both of these users are
> local users and mkpasswd with the -l flag has been cat'd into
> /etc/passwd in order to set up the passwords correctly. Not sure where
> else to focus on next.

You know, without logs, this is impossible to tell, what's going on.
Least - to help you find the problem in your setup.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 01.07.2013, <19:54>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

