This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Enable logging remote ssh contacts
Renà Berber-2 wrote:
>
> On 4/26/2011 2:02 PM, Fokke Nauta wrote:
>
> [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.
>
> Where are you looking for the log?
>
> If you are not running syslog-ng (or any other syslog) then the log is
> Windows' event log.
>
> But if you did install/configure/run syslog-ng then its at
> /var/log/messages (or a different log if you configured that).
>
> 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).
> --
> Renà Berber
>
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
--
View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-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