X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=Jp2SGhvMQ9OYBOoQ2KLBX/YPh2VcR33f4I+5ZDIZJzL TJcjsPDMIrep4nTLlL07fy256aBP7qS4C/o4/QC0L97e1ngEWrqdA9Wq9i0vE1T3 LVJSU6hAlP8JieVQBAn6mMAEKULQQZPW+lS1FmIWmVOgFeRbjorpC+GCJ1zA483M = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=u0vYcvXnaXTZhty70a/+6SucBVk=; b=tCAXJYC1IttIGKbB9 mGMf5X7+pLXI1vAARtlDF5MqV7/0JdvEzrcfP8EtaA38BgEXp5a5E2MujqVb47Rw 9epUocIgx01oZ+0E3VXD2IPr8VHlImPHoLZpFT1t1w0kto2z+W3rPdVMgVJ+rGN8 tPEn6FVQUDsmr6pj8U2cgRJVHA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:Outlook, H*x:Outlook, H*UA:Microsoft, H*x:Microsoft X-HELO: mail-wm0-f42.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=LrFVK7VNxns38VIFkPFTua+5/irCBJn0DQHsmMay5xw=; b=BNJHNvtQCMJIocFu3HofUis1icDNgr7OvOn4KyZWI7XCugVcq11TznGD2cntuIomWJ oQTPx74D7zOvrOxAQQnzkPv8QehTfOG96qwpgP6jLpe+QPOhMS4CkD/6VW7JJ4aML5Ed kucb0BNpPOTsWWy2cZQ2HmaWmXbXjKS11XPxM1mIc25ryAUDNphtLVe0+JZtZFLOTu+q wKRT+K7301rPcFsCNvtdy1s7mFm5iYKiTohhAhnRnYpjI6XOt93qfDT8+yNQMmNa4IG3 KOwvL4aAkTanGYauLExE4yNQyx/4W93ZOly4DAN2Uw8cBtfIuh8eRrHwryOCgIJjUySE fm1Q== X-Gm-Message-State: ALyK8tLcWBQvh+wjXv3yknJFox0/XUZFIVC0k0TMq9a8w/AXFRGp4sCYrnBHufTj/MIJ0w== X-Received: by 10.194.171.233 with SMTP id ax9mr228174wjc.24.1468406491010; Wed, 13 Jul 2016 03:41:31 -0700 (PDT) From: "Ahmad Alkhatib" To: References: <0e1201d1dce8$f946b8a0$ebd429e0$@gmail.com> <0e1701d1dcf2$13803260$3a809720$@gmail.com> In-Reply-To: <0e1701d1dcf2$13803260$3a809720$@gmail.com> Subject: RE: Problem With SShd Date: Wed, 13 Jul 2016 13:41:28 +0300 Message-ID: <0e1801d1dcf3$1d8564a0$58902de0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. Best regards. -----Original Message----- From: Marco Atzeri [mailto:marco DOT atzeri AT gmail DOT 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 > public key. 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 Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple