This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Enable logging remote ssh contacts
Larry Hall (Cygwin) wrote:
>
> On 4/26/2011 10:10 AM, Fokke Nauta wrote:
>>
>>
>> Dawud Medina wrote:
>>>
>>> On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote:
>>>> Is there any way to
>>>> enable logging remote login attempts to have a view op what happens?
>>>
>>> Check the sshd_config manpage for LogLevel and/or SyslogFacility.
>>> Works the same for GNU/Linux, not cygwin specific.
>>>
>>>
>>
>> Where can I find this man page?
>
> man sshd_config
>
>> I see two sshd_config config pages, one in \cygwin\etc and one in
>> \cygwin\etc\defaults\etc. Which one do I need to alter?
>
> /etc is the one to edit. /etc/defaults/etc contains templates that
> get copied to the proper locations during initial configuration.
> They will be replaced each time you update.
>
> --
> Larry
>
>
Thanks.
Never thought of opening the shell and type "man sshd_config".
It reminds me of UNIX :-)
Long before I got to Windows.
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.
Fokke
--
View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-contacts-tp31478200p31481290.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