www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
From: | "Wes S" <wess AT acegroup DOT cc> |
To: | cygwin AT cygwin DOT com |
Date: | Fri, 22 Jul 2005 11:12:15 -0400 |
MIME-Version: | 1.0 |
Subject: | getting sshd to log to /var/log/sshd.log |
Message-ID: | <42E0D48F.8671.357CC6@localhost> |
X-IsSubscribed: | yes |
I wasn't getting anywhere trying to get sshd to log to /var/log/sshd.log I googled, read the man pages, even the faq but while sshd is working great, I couldn't get it to log. I found http://www.cygwin.com/ml/cygwin/2004-11/msg00136.html by using site:cygwin.com in my google search which told me a bit about the puzzle but I couldn't get it to work. Then I found: http://www.cygwin.com/ml/cygwin-announce/2001/msg00058.html which helped me a bunch with figuring out how to use cygrunsrv. The example Corinna gave, cygrunsrv -I "Joey sshd" -p /usr/sbin/sshd -a '-d' -u joey made me realize that I needed single quotes after the -a . So.... Trying, cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D -e' made my day. My thanks to Corinna and Brian. Wes S -- 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 |