delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <3EDF6F7D.3000603@thereinc.com> |
Date: | Thu, 05 Jun 2003 09:27:41 -0700 |
From: | Jonathan Hudgins <jhudgins AT thereinc DOT com> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh connection closed |
References: | <3EDF6BDC DOT 6050809 AT thereinc DOT com> <Pine DOT CYG DOT 4 DOT 55 DOT 0306051715010 DOT 3912 AT ellixia> |
In-Reply-To: | <Pine.CYG.4.55.0306051715010.3912@ellixia> |
X-Spam-Status: | No, hits=-1.8 required=5.0 |
tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, | |
USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG | |
version=2.43 |
Elfyn McBratney wrote: >On Thu, 5 Jun 2003, Jonathan Hudgins wrote: > > > >>I am running sshd per instructions from /usr/doc/Cygwin/openssh-3.6.1p1-2.README. >>I choose no privilege speration at setup time >>I have also set the following values in sshd_config: >> >> PasswordAuthentication yes >> RhostsAuthentication no >> RhostsRSAAuthentication no >> RSAAuthentication no >> >>When I login via ssh I don't get asked for a password (I think >>this is ok because I ran ssh-user-config). My problem is >>that I get kicked out immediately after logging in. I used to be >>able to login fine (even with the setgid failure as below); but now >>I can't. Something changed (don't ask me I've tried a lot of >>different iterations). >> >>How do I diagnose this problem further? >>/var/log/sshd.log has not been modified for a long time >>Is a solution apparent from the given info? >> >>$ ssh -v localhost >>OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f >>debug1: Reading configuration data /etc/ssh_config >>debug1: Rhosts Authentication disabled, originating port will not be trusted. >>debug1: Connecting to localhost [127.0.0.1] port 22. >>debug1: Connection established. >>debug1: identity file /cygdrive/c/.ssh/identity type 0 >>debug1: identity file /cygdrive/c/.ssh/id_rsa type 1 >>debug1: identity file /cygdrive/c/.ssh/id_dsa type 2 >>debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p1 >>debug1: match: OpenSSH_3.6.1p1 pat OpenSSH* >>[...] >>Last login: Thu Jun 5 07:13:15 2003 from jhudgins-pc.pc.there.com >>Fanfare!!! >>You are successfully logged in to this server!!! >>setgid: Invalid argument >> >> > ^^^^^^^^^^^^^^^^^^^^^^^^ > >Is your /etc/group file out of sync? Does > >$ mkgroup -l (or -d for domains) >/etc/group > >Fix it? > > >>Connection to localhost closed. >> >> $ mkgroup -d >> /etc/group solves the problem. I had already tried "mkgroup -l > /etc/group" per instructions from another posting, but I really needed the domain group. Thank you, Jonathan -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |