[Bug 1213] ssh-keyscan exits in mid-way

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 18 17:36:09 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1213

aab at purdue.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2008|0                           |1
        is obsolete|                            |

--- Comment #31 from aab at purdue.edu 2011-03-18 17:36:09 EST ---
Created attachment 2016
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2016
Remove a bit of confusion from previous patch.

I guess I'm the one that has an issue with the previous patch.  The
hostkey alg error message always references the "other end" of the
socket.  On the server the message reads as if the client was the one
that didn't have the necessary hostkey algorithms.  The updated patch
has modified verbage for the server that attempts to distnguish the
difference.

I have a general issue with this anyhow.  Wouldn't it be possible to
check the server algorithms BEFORE asking the server to return a key
that it doesn't have.  If I read the code correctly, the
debug2:kex_parse_init messages indicate that the code extracts the list
of algorithms that the server supports from the SSH2_MSG_KEXINIT
response.  Isn't that before the request?  Right now both the server
and the client issue the same abort message and that seems a waste of
time (and log file space (;-})).

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list