This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd authentication question


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?

Thanks,
Matt





On Mar 15 09:50, Matt Berney wrote:
> Over time, we continue to experience intermittent sshd authentication problems in our environment.  Every so often (~ 1.5% of the time, but enough to cause our automated tests to fail), admin privileges are not granted.  Perhaps there is some setting in the /etc/sshd_config file that we need to change.  
> [...]
> #!/bin/bash
> 
> USER=$1
> HOST=$2
> 
> while [ true ] ; do
> 
>   echo -e "\n *** $USER on $HOST *** \n"
>   ssh ${USER}@${HOST} id
> 
>   sleep 10
> done

I tried the above loop several thousand times now.  I'm not able to
reproduce the effect.  I'm getting always admin privs.  It would
perhaps help to get an strace of a failing sshd.

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 <http://cygwin.com/ml/>
Problem reports:       <http://cygwin.com/problems.html>
Documentation:         <http://cygwin.com/docs.html>
FAQ:                   <http://cygwin.com/faq/>


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]