delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/18/13:51:22

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: <20021218185034.9606.qmail@the-means.net>
From: dmeans AT the-means DOT net
Subject: sshd: setgid() fails on second login
To: cygwin AT cygwin DOT com
Date: Wed, 18 Dec 2002 13:50:34 -0500 (EST)
Reply-To: dmeans AT the-means DOT net
MIME-Version: 1.0

I've recently installed cygwin version 1.3.17.

When I attempt to ssh to the cygwin host more than once, with the
first connection still active, I get the error message
'setgid: invalid argument' , and then I'm disconnected.

Below is an example of the problem.  The first 'ssh localhost' is
sucessful (which indicates to me that setgid() succeeded), but
the second 'ssh localhost' fails.

This problem is reproducable regardless of the client (localhost
or remote) or the authentication method (keys vs. passwords), or
any mixture there of.  In other words, if I'm logged in once via
ssh, then I cannot log in again via ssh.

I've searched the web and the archives for clues, but I'm coming up
empty.

Thanks,

David

--


Example:

[ /home/dmeans ]
dmeans AT raptor
2$ ssh localhost
Last login: Wed Dec 18 13:22:08 2002 from raptor
Fanfare!!!
You are successfully logged in to this server!!!

[ /home/dmeans ]
dmeans AT raptor
10$ ssh localhost
Last login: Wed Dec 18 13:23:31 2002 from raptor
Fanfare!!!
You are successfully logged in to this server!!!
setgid: Invalid argument
Connection to localhost closed.

[ /home/dmeans ]
dmeans AT raptor
11$


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019