bugzilla-daemon at mindrot.org
2015-Jan-27 17:41 UTC
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213 --- Comment #50 from Daniel Richard G. <skunk at iSKUNK.ORG> --- Okay, tried again with your patch. Here's what I see: [...] # A.B.C.46 SSH-1.99-OpenSSH_4.2 # A.B.C.47 SSH-1.99-OpenSSH_4.2 # A.B.C.47 SSH-1.99-OpenSSH_4.2 # A.B.C.47 SSH-1.99-OpenSSH_4.2 # A.B.C.48 SSH-1.99-OpenSSH_4.2 # A.B.C.48 SSH-1.99-OpenSSH_4.2 # A.B.C.48 SSH-1.99-OpenSSH_4.2 A.B.D.162: Connection closed by remote host # A.B.D.26 SSH-2.0-OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 Connection closed by A.B.D.26 (exit status 255) I ran this at two different times of day, and got the same host in that last "Connection closed" error. As the error is non-specific, here's the backtrace: #0 0x00007ffff6802d50 in _exit () from /lib64/libc.so.6 #1 0x00007ffff7fc2048 in cleanup_exit (i=255) at ../cleanup.c:31 #2 0x00007ffff7f9fa99 in ssh_packet_read_seqnr (ssh=0x7ffff86f4520, typep=0x7fffffffde0f "", seqnr_p=0x7fffffffde10) at ../packet.c:1330 #3 0x00007ffff7fa69f5 in ssh_dispatch_run (ssh=0x7ffff86f4520, mode=0, done=0x7ffff8207178, ctxt=0x7ffff86f4520) at ../dispatch.c:101 #4 0x00007ffff7f85aef in keygrab_ssh2 (c=0x7ffff8207160) at ../ssh-keyscan.c:292 #5 0x00007ffff7f86e99 in congreet (s=149) at ../ssh-keyscan.c:501 #6 0x00007ffff7f86f34 in conread (s=149) at ../ssh-keyscan.c:516 #7 0x00007ffff7f873b5 in conloop () at ../ssh-keyscan.c:587 #8 0x00007ffff7f874cf in do_host ( host=0x7fffffffe27b "foobaz.internal.example.com,X.Y.Z.W") at ../ssh-keyscan.c:613 #9 0x00007ffff7f87d44 in main (argc=6, argv=0x7fffffffe778) at ../ssh-keyscan.c:779 This is the 20150127 snapshot, still. There seem to be a number of places in ssh_packet_read_seqnr() where connection errors lead straight to an exit... -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.