This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd authentication question
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@cygwin.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/