delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/04/07:40:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <40C05F95.7050207@ecs.soton.ac.uk>
Date: Fri, 04 Jun 2004 12:40:05 +0100
From: Andy Rushton <ajr1 AT ecs DOT soton DOT ac DOT uk>
Organization: Southampton University
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: decoding sshd failure
References: <40BFDACD DOT 4020104 AT machturtle DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040603230705 DOT 032836e8 AT pop DOT theworld DOT com> <200406040638 DOT 42277 DOT dcorbin AT machturtle DOT com>
In-Reply-To: <200406040638.42277.dcorbin@machturtle.com>
X-MailScanner-Information: Please contact helpdesk AT ecs DOT soton DOT ac DOT uk for more information
X-ECS-MailScanner: Found to be clean
X-IsSubscribed: yes

Someone wrote:

>>>Below is a fragment of output from sshd -d -d -d
>>>
>>>Can someone tell me why it doesn't like my publickey?  I think I've done
>>>everything right, but no joy.  I can login using the password just fine.
>>>      
>>>
Sorry, I missed the start of this thread so I don't know who the 
original author is but I have some suggestions:

I had a problem with ssh not finding my .ssh directory. It turned out 
that ssh gets your home directory from /etc/passwd and not from $HOME 
and in my case, for perverse Windows-related reasons I don't understand, 
this was different. Editing /etc/passwd fixed it. Check the path that 
ssh is reporting that its looking in and check that this is the right place.

Also, I had an embarrassing error the first time I set this up - being 
British I spelt authorized_keys with an 's' not a 'z'. It took me a 
while to spot the problem.

You don't say what your directory structure is, so could one of these be 
the problem?

Andy

-- 
Andy Rushton, Southampton, UK

   Be careful or be road-kill.
		  -- Calvin


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