X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <31484865.post@talk.nabble.com> Date: Tue, 26 Apr 2011 23:40:30 -0700 (PDT) From: Fokke Nauta To: cygwin AT cygwin DOT com Subject: Re: Enable logging remote ssh contacts In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <31478200 DOT post AT talk DOT nabble DOT com> <20110426132128 DOT GA6293 AT jethro DOT local DOT lan> <31478748 DOT post AT talk DOT nabble DOT com> <4DB6E0EA DOT 8070901 AT cygwin DOT com> <31481290 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Ren=C3=A9 Berber-2 wrote: >=20 > On 4/26/2011 2:02 PM, Fokke Nauta wrote: >=20 > [snip] >> I edited the proper sshd_config file. Perhaps I didn't do that well >> enough, >> but after restarting the Cygwin ssh service no login attempt was logged >> after I logged in. >=20 > Where are you looking for the log? >=20 > If you are not running syslog-ng (or any other syslog) then the log is > Windows' event log. >=20 > But if you did install/configure/run syslog-ng then its at > /var/log/messages (or a different log if you configured that). >=20 > Don't confuse /var/log/sshd.log for the real log, that one is just for > output sent by cygrunsrv (the program that serves as helper to make sshd > a Windows service). > --=20 > Ren=C3=A9 Berber >=20 Thanks. I was looking in /var/log/sshd.log indeed. So - in order to see a real log file I need to install/configure/run syslog-ng. How do I do that? Fokke --=20 View this message in context: http://old.nabble.com/Enable-logging-remote-s= sh-contacts-tp31478200p31484865.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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