This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin/OpenSSH V.5.3: Key authentication does not work under Windows 2008...


On 01/21/2010 10:01 AM, Carsten.Porzler@spb.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]