Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 17 Jul 2001 13:54:28 +0200 From: Corinna Vinschen To: "'cygwin AT cygwin DOT com'" Subject: Re: problems setting up openssh 2.9p2-2 with keyfiles Message-ID: <20010717135428.C19361@cygbert.vinschen.de> Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: <01C10EBE DOT 89E1B450 DOT hans DOT sturm AT consors DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01C10EBE.89E1B450.hans.sturm@consors.de>; from hans.sturm@consors.de on Tue, Jul 17, 2001 at 12:46:45PM +0200 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 AT cygwin DOT 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/