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 Message-ID: Date: Tue, 5 Apr 2005 13:00:57 -0700 From: Greg Kempe Reply-To: Greg Kempe To: jbuehler AT spirentcom DOT com, cygwin AT cygwin DOT com Subject: Re: 1.5.14: strange sshd error (openssh-3.9p1-2) In-Reply-To: <42529480.20205@spirentcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050404102944 DOT GR1471 AT cygbert DOT vinschen DOT de> <42529480 DOT 20205 AT spirentcom DOT com> X-IsSubscribed: yes On Apr 5, 2005 6:37 AM, Joe Buehler wrote: > Corinna Vinschen wrote: > > >>Failed none for Greg from 127.0.0.1 port 1202 ssh2 > >>debug1: userauth-request for user Greg service ssh-connection method publickey > >>debug1: attempt 1 failures 1 > >>debug2: input_userauth_request: try method publickey > >>debug1: test whether pkalg/pkblob are acceptable > >>debug1: temporarily_use_uid: 1005/513 (e=1005/513) > >>seteuid 1005: Permission denied > >>debug1: do_cleanup > > > > > > Does that happen when sshd is installed as service under SYSTEM account? > > This looks like the same error I reported a couple weeks ago in > CVS. Hopefully it's not really a 1.5.14 thing. It looks like a permissions thing. Openssh-4p1-1 *was* working until I started fiddling with permissions again, trying to get it back to something more secure. I now have this error at the same place. setegid 513: Invalid argument If I authenticate with a password instead, then the ssh client gives debug1: Next authentication method: password Greg AT localhost's password: debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug1: Entering interactive session. Last login: Tue Apr 5 12:36:31 2005 from localhost setgid: Invalid argument I would guess 513 is being rejected as a group ID. Does cygwin create the None group or is it a built-in? Greg -- 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/