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.  

[sshd_config]
$ grep -ve '^#' sshd_config

Port 22
StrictModes no
UsePrivilegeSeparation yes
Subsystem      sftp    /usr/sbin/sftp-server


Test: 'ssh [EMAIL PROTECTED] id' in a loop over and over again
Script:

#!/bin/bash

USER=$1
HOST=$2

while [ true ] ; do

  echo -e "\n *** $USER on $HOST *** \n"
  ssh [EMAIL PROTECTED] id

  sleep 10
done

Results:

The test executed 19140 times over the weekend.  The test recorded 318 occurrences of 
the problem with ssh not returning the admin privileges as expected.  The impact of 
this interaction on our test environment is that sometimes, test fail because our 
tools require admin privilege to execute.  

When ssh works normally:

 *** Administrator on smoke3 ***

uid=10500(Administrator) gid=10513(Domain Users) groups=10512(Domain Admins),105
13(Domain Users),10519(Enterprise Admins),10520(Group Policy Creator Owners),105
18(Schema Admins),544(Administrators),545(Users)

When ssh works abnormally:

 *** Administrator on smoke3 *** 

uid=10500(Administrator) gid=10513(Domain Users) groups=10513(Domain Users),545(Users)


Thanks in advance,

Matt Berney


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

Reply via email to