delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/24/08:09:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <jfknmh$3b1$1@dough.gmane.org>
References: <4F1A8F1C DOT 40002 AT chalmers DOT se> <4F1DDDA8 DOT 5000909 AT cygwin DOT com> <jfknmh$3b1$1 AT dough DOT gmane DOT org>
Date: Tue, 24 Jan 2012 08:08:38 -0500
Message-ID: <CA+sc5mkYzZ=RS8P-nUJyBaBqYTKWMktKcvjuQKHkaeg+-8L4KQ@mail.gmail.com>
Subject: Re: ssh pubkey exchange failing at send_pubkey_test
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0OD92xD031433

On Mon, Jan 23, 2012 at 5:41 PM, Andrew DeFaria <Andrew AT defaria DOT com> 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).

Make sure ~/.ssh directory has 700 permissions.  Make sure the
~/.ssh/authorized_keys file has 600 permissions.  The authorized_keys
entry is one line and is the public key of the key pair.

HTH,
-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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