[Bug 126] New: ssh-keyscan hangs or crashes accessing Sun ssh host

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Feb 28 03:25:59 EST 2002


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

           Summary: ssh-keyscan hangs or crashes accessing Sun ssh host
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: jss at ast.cam.ac.uk


When trying to do a keyscan on a machine running Sun's ssh daemon, the
ssh-keyscan hangs indefinitely.

For example:

xpc1:~/code> ./ssh-keyscan cass37.ast.cam.ac.uk
# cass37.ast.cam.ac.uk SSH-2.0-Sun_SSH_1.0
[... hangs here consuming most of the cpu ...]

strace shows something like this repeated:

read(3, "", 1349676892)                 = 0
gettimeofday({1014826290, 123906}, NULL) = 0
gettimeofday({1014826290, 125461}, NULL) = 0

With a long file of hosts including a sun ssh one the keyscan can crash with an
error in xmalloc attempting to allocate too much memory.

xmalloc: out of memory (allocating 1349676920 bytes)



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