delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/01/12:05:27

X-Recipient: archive-cygwin AT delorie DOT 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 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
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 AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <7010185028.20130701195539@mtu-net.ru>
To: Evan Rowley <rowley DOT evan AT gmail DOT com>, cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 AT localhost


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

> ssh SFTP_User AT localhost


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

> ssh SFTP_User AT 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 AT freemail DOT 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

- Raw text -


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