This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Help me please install OpenSSH Server on Windows Vista
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/