X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=4.5 required=5.0	tests=AWL,BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F1DE90F.9060908@cygwin.com>
Date: Mon, 23 Jan 2012 18:11:11 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: ssh pubkey exchange failing at send_pubkey_test
References: <4F1A8F1C.40002@chalmers.se> <4F1DDDA8.5000909@cygwin.com> <jfknmh$3b1$1@dough.gmane.org>
In-reply-to: <jfknmh$3b1$1@dough.gmane.org>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
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

On 1/23/2012 5:41 PM, Andrew DeFaria wrote:
> On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote:
>> When I've seen this before on this list, it's because you are in a domain
>> and your user is a domain user. If that's the case, you want to create a
>> domain account to run your sshd server or use a local user to ssh in with.
>> If this doesn't describe your situation, I'd recommend adding debug flags
>> to your sshd server so that you can see a full log of things on that side
>> of the fence. Typically this is very illuminating for server-side issues.
> I'm on XP. I log into a domain. sshd is running as Local System account. I
> can log in if I specify my password. It's just pre-shared key that isn't
> working and I believe this to be a permissions problem (see other postings
> about permissions problems).

If you're logging in with a domain account but using the Local System
account to run sshd, then you may be running into the issue that the
Local System account cannot change the user context to the domain user.
Try with a local user to see if that helps.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

