X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <496E2F16.5010605@cygwin.com>
References: <7fac565a0901120447n4c9b67a1sa07dfd0ef113b9e7@mail.gmail.com> 	 <7fac565a0901120450p27bbf05t7a4b9d5173333a95@mail.gmail.com> 	 <496B70B3.2030204@cygwin.com> 	 <7fac565a0901130749n5467e910r969dcd6d5c8f95d6@mail.gmail.com> 	 <496D09A5.9010702@cygwin.com> 	 <7fac565a0901140333m72bc6354h9a6d9e5cda7e27f6@mail.gmail.com> 	 <496E2F16.5010605@cygwin.com>
Date: Sun, 18 Jan 2009 05:12:46 -0800
Message-ID: <7fac565a0901180512x2d309417x6e9c3d69b8881a89@mail.gmail.com>
Subject: Re: Help me please install OpenSSH Server on Windows Vista
From: Alexey Eremenko <al4321@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, Jan 14, 2009 at 10:29 AM, Larry Hall (Cygwin)
<reply-to-list-only-lh@cygwin.com> wrote:
> Alexey Eremenko wrote:
>>>
>>> Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
>>> <http://cygwin.com/problems.html> would help.  What does 'ls -ld /etc'
>>> say?  What does 'getfacl /etc' say?  What about 'cacls c:\cygwin\etc'?
>>>
>>> In other words, who has permissions to change '/etc' and who's it's
>>> owner?  Sounds like you need to rejigger ownerships/permissions to make
>>> this work.  Perhaps try that based on the output of the above.
>>
>> I have attached output in text-files.
>
> You've "sanitized" your cygcheck output so that I can't see what groups
> "user" belongs to.  According to your 'ls'/'getfacl' output, "user" is
> the owner of '/etc' (and I assume '/var/log').  Try 'chmod 755 /etc'
> from the command line instead.

ok I did:
chmod -Rvf 0777 /etc /var

then:
ssh-host-config completed successfully (at last !)

I did:
$ cygrunsrv -S sshd
and I hope SSH service started but have no idea if it really started...

On the same machine I opened cmd.exe and did:
C:\cygwin\bin>ssh cyg_server@localhost
ssh_exchange_identification: Connection closed by remote host

C:\cygwin\bin>ssh localhost
ssh_exchange_identification: Connection closed by remote host

It still does not work. What else info I can provide?
-- 
-Alexey Eromenko "Technologov"

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

