Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <3FB8328D.6010507@curioussymbols.com> Date: Mon, 17 Nov 2003 13:29:33 +1100 From: John Pye User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.5.5: sshd problem References: <3FB42AA5 DOT 9090302 AT curioussymbols DOT com> <3FB4359A DOT 3030204 AT student DOT unsw DOT edu DOT au> In-Reply-To: X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks for the extra tips, Igor. Do any of these results look strange to you? Igor Pechtchanski wrote: >That's the default mode Windows gives it. This should work, but somehow >doesn't... Can sshd get to all the necessary files and directories? Look >at the permissions on /etc and the files in it, as well as /bin. > > > I tried an ls -l /etc and found -rwxr-xr-x 1 SYSTEM None 1159 Nov 13 19:02 ssh_config -rw------- 1 SYSTEM None 668 Nov 13 19:02 ssh_host_dsa_key -rw-r--r-- 1 SYSTEM None 599 Nov 13 19:02 ssh_host_dsa_key.pub -rw------- 1 SYSTEM None 524 Nov 13 19:02 ssh_host_key -rw-r--r-- 1 SYSTEM None 328 Nov 13 19:02 ssh_host_key.pub -rw------- 1 SYSTEM None 887 Nov 13 19:02 ssh_host_rsa_key -rw-r--r-- 1 SYSTEM None 219 Nov 13 19:02 ssh_host_rsa_key.pub -rw-r--r-- 1 SYSTEM None 2427 Nov 13 19:03 sshd_config That looks OK I thought... or is it? Does 'SYSTEM' need to be able to read those files, or does 'sshd'? I also had a look at /etc/bin and it's all owned by john.Users, for example -rwxrwxrwx 1 john Users 19456 Feb 20 2002 split.exe -rwxrwxrwx 1 john Users 68608 Nov 6 02:47 ssh-add.exe -rwxrwxrwx 1 john Users 57856 Nov 6 02:47 ssh-agent.exe -rwxrwxrwx 1 john Users 17333 Nov 6 02:47 ssh-host-config -rwxrwxrwx 1 john Users 75776 Nov 6 02:47 ssh-keygen.exe -rwxrwxrwx 1 john Users 130048 Nov 6 02:47 ssh-keyscan.exe -rwxrwxrwx 1 john Users 6266 Nov 6 02:47 ssh-user-config -rwxrwxrwx 1 john Users 223232 Nov 6 02:47 ssh.exe -rwxrwxrwx 1 john Users 18944 Sep 21 06:32 ssp.exe -rwxrwxrwx 1 john Users 87552 Aug 26 2002 states.exe -rwxrwxrwx 1 john Users 23552 Sep 21 06:32 strace.exe That could be a problem perhaps? Should the 'Users' group contain 'sshd' or is access for sshd to the /bin executables handled somehow else? >Ok, looks like all your mounts are system mounts, unless you simply don't >have the permission to read the registry keys for the SYSTEM user... > > That seems strange. My home computer has a couple of mounts when I run that command, but this system has none. However, it works fine locally (compiling, listing files, /cygdrive/c, etc). I haven't ever tinkered with the mounts, so I wonder how that comes to be... Couldn't be related to mingw/msys could it? John -- 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/