Bug 2268

Summary: VisualHostKey double printing with odd alignment
Product: Portable OpenSSH Reporter: zamabe
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: trivial CC: djm
Priority: P5    
Version: 6.6p1   
Hardware: amd64   
OS: Linux   
Attachments:
Description Flags
Double printed ssh VisualHostKey
none
ssh -vvv none

Description zamabe 2014-08-31 03:38:23 AEST
Created attachment 2464 [details]
Double printed ssh VisualHostKey

$ grep VisualHostKey .ssh/config
VisualHostKey yes

When connecting to a server (6.6p1 as well), the client prints the fingerprint and hostkey before authentication, and then after authentication it doubles up, trying to print the fingerprint and show the hostkey again, but with weird spacing/alignment.
Comment 1 Damien Miller 2014-10-09 09:24:54 AEDT
What is the commandline you were using when this triggered? Could you please provide some debugging output ("ssh -vvv user@host").

I suspect the the multiple display of the fingerprint could be caused by rekeying (which causes the hostkeys to be sent again). This multiple display should be fixed in openssh-6.7 that was just released this week.
Comment 2 zamabe 2014-10-10 02:02:37 AEDT
Created attachment 2484 [details]
ssh -vvv
Comment 3 Damien Miller 2015-03-18 18:19:43 AEDT
yes, that is rekeying. This is fixed in openssh-6.7 or later.
Comment 4 Damien Miller 2015-08-11 23:02:32 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1