delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/18/08:12:59

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT com> <7fac565a0901120450p27bbf05t7a4b9d5173333a95 AT mail DOT gmail DOT com> <496B70B3 DOT 2030204 AT cygwin DOT com> <7fac565a0901130749n5467e910r969dcd6d5c8f95d6 AT mail DOT gmail DOT com> <496D09A5 DOT 9010702 AT cygwin DOT com> <7fac565a0901140333m72bc6354h9a6d9e5cda7e27f6 AT mail DOT gmail DOT com> <496E2F16 DOT 5010605 AT cygwin DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Wed, Jan 14, 2009 at 10:29 AM, Larry Hall (Cygwin)
<reply-to-list-only-lh AT cygwin DOT 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 AT 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/

- Raw text -


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