[Bug 400] New: ssh-keygen hangs

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 23 21:26:19 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=400

           Summary: ssh-keygen hangs
           Product: Portable OpenSSH
           Version: -current
          Platform: All
               URL: http://www.mgi-networks.com/
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh-keygen
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: mcg at mcg-ct.com
                CC: mcg at mcg-ct.com


ssh stops working because ssh-keygen cannot get entropy.  Apparently, even if
configured with OpenSSL latest and prngd latest, openssh still uses the commands
that are listed in /usr/local/etc/ssh_prgn_cmds.  If one of those commands
hangs, then the timeout used in the build does not work during operation, and
ssh-keygen hangs... so ssh hangs.  The 'df' command is the offending command here.

The timeout used during the build to test the commands also does not appear to
be working if a command successfully test at build time fails during operation.

We have over 100 disks and any one of those disks can stop ssh, which we use for
a production batch job.  This is an unacceptable series failure mode. 
Fortunately commenting out the lines in
/usr/local/etc/ssh_prgn_cmds that contain the offending command, provided a
quick solution to our problem.  We now leave df commented out as documented in
our install notes below.

sshd installation documented at http://www.mcg-ct.com/openssh_privsep/ 

Given my understanding, there may be two bugs.
1.)  If using prngd, openssh should not use the /usr/local/etc/ssh_prng_cmds
2.)  If using /usr/local/etc/ssh_prng_cmds, the 200 msec default timeout should
    work during operation.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list