Enable logging remote ssh contacts

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Apr 26 16:33:00 GMT 2011


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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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



More information about the Cygwin mailing list