Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040604151732.032349b8@pop.theworld.com> X-Sender: Date: Fri, 04 Jun 2004 15:19:17 -0400 To: David Corbin , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: decoding sshd failure In-Reply-To: <200406040827.48833.dcorbin@machturtle.com> References: <40BFDACD DOT 4020104 AT machturtle DOT com> <200406040638 DOT 42277 DOT dcorbin AT machturtle DOT com> <40C05F95 DOT 7050207 AT ecs DOT soton DOT ac DOT uk> <200406040827 DOT 48833 DOT dcorbin AT machturtle DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 08:27 AM 6/4/2004, you wrote: >On Friday 04 June 2004 07:40, Andy Rushton wrote: >> 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. >> > >/home/dcorbin, which is what I expected. > >> 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? > >The directory structure, as near as I can tell, is "normal". Permission seem >'reasonable' (and I seem to remember sshd will tell you when your permissions >are wrong). Depends. Depends on what 'StrictModes' is set to in your /etc/sshd_config? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/