delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B587E7D.4040805@cygwin.com> |
Date: | Thu, 21 Jan 2010 11:19:09 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin/OpenSSH V.5.3: Key authentication does not work under Windows 2008... |
References: | <16301_1264086092_4B586C4C_16301_305990_2_OF11708682 DOT 5FB599E5-ONC12576B2 DOT 0050FA30-C12576B2 DOT 00528821 AT nbg DOT sdv DOT spb DOT de> |
In-Reply-To: | <16301_1264086092_4B586C4C_16301_305990_2_OF11708682.5FB599E5-ONC12576B2.0050FA30-C12576B2.00528821@nbg.sdv.spb.de> |
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 |
On 01/21/2010 10:01 AM, Carsten DOT Porzler AT spb DOT de wrote: > Dear Cygwin experts, > > we installed Cygwin/OpenSSH V.5.3 > > CYGWIN_NT-6.1-WOW64 d00atq49 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin > OpenSSH_5.3p1, OpenSSL 0.9.8l 5 Nov 2009 > > on a Windows 2008 64-bit system. > > Unfortunetly the key authentication does not work. The connection > initiation interrupts on server side with the following errors: seteuid > <user-id>: Permission denied So the user running 'sshd' does not have the proper permissions or support to change users. Did you use 'ssh-host-config' to set it up? <snip> > The password authentication with the same user on the same server works > fine. > > The OpenSSHd service is running under system account. This is wrong. SYSTEM doesn't have the required permissions to switch user contexts after XP. You'll need to run 'sshd-host-config' and let it set up a new user (cygserver) to run the service. If that doesn't work, you may find it easier to simply wipe your installation and start over. Alternatively, you can review 'ssh-host-config' and its supporting scripts to check the permissions and ownerships of all the necessary files. 'sshd' is very picky about this and won't run properly without all the right ownerships and permissions. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |