delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/18/13:44:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 18 Mar 2004 19:43:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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: <C75BC7A96CFE2C44B38C639E4362739E018A2CB0 AT postman DOT ms DOT polyserve DOT com>
Mime-Version: 1.0
In-Reply-To: <C75BC7A96CFE2C44B38C639E4362739E018A2CB0@postman.ms.polyserve.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019