Problem With SShd
Wed Jul 13 10:41:00 GMT 2016
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:email@example.com]
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
More information about the Cygwin