Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 18 Mar 2004 19:43:44 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sshd authentication question Message-ID: <20040318184344.GM17229@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On Mar 18 10:29, Matt Berney wrote: > Thanks, I suspect that it is something in our environment that is causing this. Specifically, how do I use the strace tool in this context? Can I substitute the 'ssh' command with 'strace ssh' command? Ooh, no. The interesting part happens on the server side. You must start sshd under strace. Create a new service using cygrunsrv, e. g. called "trace_sshd", which runs `/bin/strace /usr/sbin/sshd -D'. Run it instead of the normal sshd service. The output will be automatically redirected to /var/log/trace_sshd.log. Be aware that the file might get *very* big. And it's a good idea to switch off privilege separation in your sshd_config file for this. Another step you can try first: There's a small chance that an Event Log entry has been created when the problem happens. I can't tell you how that might look like, but it's perhaps worth a try. Just musing: Is it possible that the /etc/passwd or /etc/group file gets frequently rewritten on the server machine? Perhaps something goes wrong there. It shouldn't but... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/