delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/22/06:14:18

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
Date: Thu, 22 Jan 2004 12:13:48 +0100 (MET)
From: James Nord <teilo AT cdt DOT luth DOT se>
To: cygwin AT cygwin DOT com
cc: teilo AT cdt DOT luth DOT se
Subject: sshd problems
Message-ID: <Pine.GSO.4.58.0401221212370.17202@delta1.sm.luth.se>
MIME-Version: 1.0

Hi all,

I've manage to setup sshd as a service on a windows 2000 box, and it all
seemed to be working well.

I can ssh into the box and browse directories etc. without any warning
messages being produced,

however if I try and run a command via ssh then the connection is dropped
immediately after the following error message,
setgid: Invalid argument

e.g.

====
F:\>C:\cygwin\bin\ssh.exe nordj AT localhost
nordj AT localhost's password:
Last login: Thu Jan 22 10:59:24 2004 from 127.0.0.1
NordJ AT NDSUK5446 ~
$ ls
James.pdf  PUTTY.RND  acs.log  index.html  temp  workarea
===
F:\>C:\cygwin\bin\ssh.exe nordj AT localhost ls
nordj AT localhost's password:
setgid: Invalid argument
===
NordJ AT NDSUK5446 ~
$ id
uid=18158(NordJ) gid=10513(Domain Users) groups=20164(All
UK),20206(Chandlers Ford),12729(Dept Encoders),11854(Dept Eng
Development),20107(Dept Stream Content),20125(Dept Systems Div
(Ch),20203(Dept TV Platform ( A),10513(Domain Users),14553(MAGIC
F),15039(N Dept Eng Develop.),17109(N Dept TV Platforms),15031(N
Development R),15011(N Eng Dev CRX),15029(N VHDL R),15028(N Video
Server),16027(Phoenix Change),15143(Reachout Hosts),16217(UK
Synamedia),16934(Web User
Access),20200(Worldwide),0(root),544(Administrators),545(Users)
===

I am at a loss as to why it works when not using a command and fails when
using one.  Does anyone have any ideas?
the passwd and group file are uptodate.

Anyone any ideas?

Please CC me in the reply as I'm not subscribed.

Regards

	/James
--

Technology is a word that describes something that doesn't work yet.
	Douglas Adams


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

- Raw text -


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