delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.4 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: | <31481290.post@talk.nabble.com> |
Date: | Tue, 26 Apr 2011 12:02:18 -0700 (PDT) |
From: | Fokke Nauta <fnauta AT solfon DOT nl> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Enable logging remote ssh contacts |
In-Reply-To: | <4DB6E0EA.8070901@cygwin.com> |
MIME-Version: | 1.0 |
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> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |