Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Lee Thompson" To: cygwin AT sources DOT redhat DOT com Subject: Re: OpenSSH Strangeness on Windows 2000 Date: Mon, 13 Nov 2000 07:29:52 -0800 Reply-To: thompsonl AT logh DOT net Message-ID: References: <3A0EFE05 DOT 34137875 AT redhat DOT com> <3A0F2986 DOT E7AF3FDF AT redhat DOT com> <3A0F3199 DOT 44D21A21 AT redhat DOT com> <55hu0t05qmb48nkgtkdv29cmvjtea0vnrn AT 4ax DOT com> <3A0FA3EC DOT 61498716 AT redhat DOT com> In-Reply-To: <3A0FA3EC.61498716@redhat.com> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SLUIDL: FF6B8400-DED44706-95E3A38D-AA03E4AC Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA28421 On Mon, 13 Nov 2000 09:18:52 +0100, you wrote: > Lee Thompson wrote: > > On Mon, 13 Nov 2000 01:11:05 +0100, you wrote: > > > Try > > > setfacl -m u:system:r-- /etc/ssh* > > > > > > to add read permission to `system'. I'm assuming that you have a > > > well defined /etc/passwd file. > > > > > > If that doesn't work (or you don't want to work with complex ACLs) > > > change ownership of the private key files to `system'. > > > > > > If that doesn't work either send the contents of your sshd_config file. > > > > Still no joy. > > > > Here is the sshd_config: > > [...] > > Sorry, I don't know what's going on. Did you ever try `ssh -v'? > The debug output created by that command might give a hint. If > that's not enough you should create a batch file which is started > as `sshd' service and that batch file starts > > `C:\Cygwin\usr\sbin\sshd -d > C:\cygwin\tmp\sshd.dbgout' > > This works only once each try and you would have to restart the > service for the next try but afterwards you have lots of output > from sshd and it probably explains the reason. Very strange. I went back to using the special user I created with the correct user rights (as outlined in the readme). The user is IUSR_SSHD $ ls -l total 32 -rwxrwxrwx 1 544 None 567 Nov 10 15:21 group drwxrwxrwx 2 544 None 4096 Nov 12 00:24 old -rwxrwxrwx 1 544 None 1478 Nov 12 15:13 passwd drwxrwxrwx 2 544 None 0 Nov 10 15:21 postinstall -rwxrwxrwx 1 544 None 471 Nov 10 15:21 profile drwxrwxrwx 2 544 None 28672 Nov 10 15:21 setup -rw-rw-rw- 1 administ None 94 Nov 10 18:50 sgcpwd -rw------- 1 iusr_ssh None 995 Nov 12 00:25 ssh_config -rw------- 1 iusr_ssh None 668 Nov 12 00:25 ssh_host_dsa_key -rw------- 1 iusr_ssh None 613 Nov 12 00:25 ssh_host_dsa_key.pub -rw------- 1 iusr_ssh None 537 Nov 12 00:25 ssh_host_key -rw------- 1 iusr_ssh None 342 Nov 12 00:25 ssh_host_key.pub -rw------- 1 iusr_ssh None 1035 Nov 12 00:25 sshd_config -rwxrwxrwx 1 544 None 12265 Oct 20 22:32 termcap The 'd' is cut off but it is the owner of the sshd files. I logged in to the console *AS* IUSR_SSHD and attempted to run the sshd binary. It runs FINE. I could login, it worked. If I try to run it as a service under SRVANY, it just refuses to work and does not write any type of debug output. (The sshd.exe does appear in task manager for an instant, however.) I've been using Windows NT for a long time and this is pretty weird. -- Lee Thompson thompsonl AT logh DOT net -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com