Bug 2268 - VisualHostKey double printing with odd alignment
Summary: VisualHostKey double printing with odd alignment
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.6p1
Hardware: amd64 Linux
: P5 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 03:38 AEST by zamabe
Modified: 2015-08-11 23:02 AEST (History)
1 user (show)

See Also:


Attachments
Double printed ssh VisualHostKey (18.17 KB, image/png)
2014-08-31 03:38 AEST, zamabe
no flags Details
ssh -vvv (16.21 KB, text/plain)
2014-10-10 02:02 AEDT, zamabe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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