sshd (as built by Gentoo, but I suspect generally) hangs after a certain amount of activity / number of logins if it cannot log information to syslog, at least I'm fairly sure this is the cause. The symptom is that it hangs after a certain number of logins and logouts. Reproducible: Always Steps to Reproduce: (Beware, will make your machine inaccessible so be sure you have console or other access to it!) * Stop your system logging daemon * Log in and our of the system a few times Actual Results: Login will hang, any further ssh connections will stop at the same point. Expected Results: Only found this while testing under User-mode Linux where /etc/init.d/clock always fails due to lack of /dev/rtc . Hence syslogd doesn't start, hence ssh daemon displays weird behaviour.
CVS revision 1.10 adds "use logger dns" to initscript. So if you have upgraded openssh within the last 4 months you should have gotten the update. If the update doesn't work please reopen this bug.