| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| X-Authenticated: | #33563777 |
| From: | "Martin" <sonypsx AT gmx DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging |
| Date: | Sun, 27 Jan 2008 00:50:32 +0100 |
| Message-ID: | <000001c86076$3d07fc00$ac399905@a3500> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| X-Y-GMX-Trusted: | 0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id m0QNp3Tf023935 |
Dear Cygwin(ners)! After googeling a while i´m giving up. Can someone please give me a small HowTo I installed the most recent version of the cygwin distri. ( Full blown install) I can do successfully a ssh to my host. I have done some customizing to have sshd logging to /var/log/sshd.log. Solved by installing the sshd by this command: cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D -e' I´m not really happy of the log output cause I only see the hostname , IP and the used username, but no timestamp. Maybe this can be solved be adding a line like this to hosts.allow and hosts.deny: ALL: ALL: spawn (echo "Attempt from %h %a to %d at `date`" | tee -a /var/log/tcp.allow.log | mail root AT localhost) Is this supported by the cygwin sshd? But anyway I can´t get sshd running and make use of hosts.deny and hosts.allow Can some post a decent and small HowTo? Thanks and best regards Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |