This is the mail archive of the
mailing list for the Cygwin project.
RE: Problem With SShd
- From: "Ahmad Alkhatib" <ahmad dot eng1991 at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 13 Jul 2016 13:41:28 +0300
- Subject: RE: Problem With SShd
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org> <email@example.com>
Dear Mr. Marco,
Thanks for your reply.
the output of ls -l /var |grep empty is as follows
drwxr-x--x+ 1 cyg_server Administrators 0 Jul 13 13:47 empty.
What I have noticed that after a period of time the owner changes to SYSTEM
instead of cyg_server.
So, I just run the following:
Chmod 700 /var/empty.
Chown cyg_server /var/empty.
So I can connect to my server over ssh but with a password not public key.
From: Marco Atzeri [mailto:firstname.lastname@example.org]
Sent: Wednesday, July 13, 2016 12:33 PM
To: Ahmad Alkhatib
Subject: Re: Problem With SShd
On 13/07/2016 11:28, Ahmad Alkhatib wrote:
> Dear cygwin
> Would You please help me with my problem?
> I have CYGWIN installed on windows server 2012 and i have configured
> sshd and all things goes well, I can access my server over ssh but
> after a period of time i have noticed that i can't access my server
> over ssh. So, I have tried to restart the sshd service manually but
> it gives the following error which I found it in ssh log and it says
> "/var/empty must be owned by root and not group or world-writable." so
> i have fixed these with chown and chmod, After that, I could connect
> to my server over ssh but it asks me for password not connect with
I assume the windows password, am I correct ?
> Please be informed that every time i Have the problem i do the same
> steps and when it did not work i uninstall cygwin and install it again.
> But I got the same problem after period of time, So would you please
> Provide me with a steady solution So I did not need to uninstall and
> install CYGWIN every time.
this seems a bit extreme
> Best Regards
What is the output of
$ ls -l /var |grep empty
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple