Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3D3EB875.7020002@decodon.com>
Date: Wed, 24 Jul 2002 16:23:49 +0200
From: Frank-Michael Moser <moser@decodon.com>
Organization: DECODON GmbH
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: problem with a ssh server under cygwin
References: <29922.1027364875@www14.gmx.net> <3D3E7790.9070502@decodon.com> <20020724132239.O13588@cygbert.vinschen.de> <3D3EA49C.3060406@decodon.com> <20020724154519.D3921@cygbert.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

>>  PATH=/bin:/bin
> 
> You should try to figure out why your $PATH is corrupted...
> 
> Corinna

Sorry, but I sent the wrong output. I just tried to find if sshd behaves 
different when removing WINs from the path.

Actually the output when logging in to sshd is:

$ ssh localhost
Last login: Wed Jul 24 14:54:48 2002 from localhost
Fanfare!!!
You are successfully logged in to this server!!!
Environment:
   ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
   COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien
   COMPUTERNAME=PIP
   COMSPEC=C:\WINDOWS\system32\cmd.exe
   CYGWIN=binmode ntsec tty
   HOME=/home/moser
   HOMEPATH=
   NUMBER_OF_PROCESSORS=1
   OS=Windows_NT
 
PATH=/cygdrive/c/Programme/system:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programme/Network 
Associates/PGPcmdln:/bin
   PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
   PROCESSOR_ARCHITECTURE=x86
   PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel
   PROCESSOR_LEVEL=15
   PROCESSOR_REVISION=0204
   PROGRAMFILES=C:\Programme
   SYSTEMDRIVE=C:
   SYSTEMROOT=C:\WINDOWS
   TEMP=/cygdrive/c/WINDOWS/TEMP
   TERM=rxvt-cygwin-native
   TMP=/cygdrive/c/WINDOWS/TEMP
   USERDOMAIN=NT-AUTORITÄT
   USERNAME=SYSTEM
   USERPROFILE=C:\Dokumente und Einstellungen\LocalService
   WINDIR=C:\WINDOWS
   TZ=   -1   -2,M3.5.0/2,M10.5.0/3
   USER=moser
   LOGNAME=moser
   MAIL=/var/spool/mail/moser
   SHELL=/bin/bash
   SSH_CLIENT=127.0.0.1 2928 22
   SSH_TTY=/dev/tty4
C:\cygwin\bin\bash.exe: *** could not load wsock32, Win32 error 126
Connection to localhost closed.

Where i installed sshd with:

$ cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a -d -e 
"CYGWIN=binmode ntsec tty"


Frank-Michael

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515231
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------


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

