public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* problems setting up openssh 2.9p2-2 with keyfiles
@ 2001-07-17  3:47 Hans Sturm
  2001-07-17  4:54 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Sturm @ 2001-07-17  3:47 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hello,

I installed cygwin 1.3.2 and OpenSSH 2.9p2-2 using ntsec and a good 
passwd/group.
the sshd is installed as service under system account with cygrunsrv.
i want to log in with keyfiles only (which is configured in sshd_config) 
and the right authorized_keys and authorized_keys2 are in place with the 
right owner and readable for system.
when i try to login i get asked for the passphrase for my keys but after 
that sshd closes the connection.
in the eventlog i find a entry from sshd stating:
":sshd : Win32 Process Id = 0xAF : Cygwin Process Id = 0xAF : fatal: setuid 
500: Not owner."
I chowned system:system sshd.exe but same problem again.

Any suggestions?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problems setting up openssh 2.9p2-2 with keyfiles
  2001-07-17  3:47 problems setting up openssh 2.9p2-2 with keyfiles Hans Sturm
@ 2001-07-17  4:54 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-07-17  4:54 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On Tue, Jul 17, 2001 at 12:46:45PM +0200, Hans Sturm wrote:
> Hello,
> 
> I installed cygwin 1.3.2 and OpenSSH 2.9p2-2 using ntsec and a good 
> passwd/group.
> the sshd is installed as service under system account with cygrunsrv.
> i want to log in with keyfiles only (which is configured in sshd_config) 
> and the right authorized_keys and authorized_keys2 are in place with the 
> right owner and readable for system.
> when i try to login i get asked for the passphrase for my keys but after 
> that sshd closes the connection.
> in the eventlog i find a entry from sshd stating:
> ":sshd : Win32 Process Id = 0xAF : Cygwin Process Id = 0xAF : fatal: setuid 
> 500: Not owner."

Did you set the env var CYGWIN to contain `ntsec' in the system env
or when installing sshd as service e.g.

	cygrunsrv -I sshd ... -e "CYGWIN=... ntsec ..."

?

If that doesn't help, could you try the latest developer snapshot
of Cygwin?

> I chowned system:system sshd.exe but same problem again.

That's irrelevant. The ownership of the ssh files in /etc is
the problem typically but that seems not to be related here.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-17  4:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17  3:47 problems setting up openssh 2.9p2-2 with keyfiles Hans Sturm
2001-07-17  4:54 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).