Bug 1659

Summary: VisualHostKey and host key fingerprint aren't displayed when host's IP address is changed
Product: Portable OpenSSH Reporter: Tom Adams <tom>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: djm
Priority: P2    
Version: 5.2p1   
Hardware: ix86   
OS: Linux   

Description Tom Adams 2009-10-07 20:52:17 AEDT
My home server's IP address changes frequently, and the first time I ssh into it after it changes, neither the host key fingerprint nor the VisualHostKey are displayed, meaning there's no way for me to verify that I'm sshing into my home machine, and not another machine that's in my known_hosts.

% ssh holizz.ath.cx
Warning: Permanently added the RSA host key for IP address '92.3.96.217' to the list of known hosts.
holizz@holizz.ath.cx's password:^C

% ssh holizz.ath.cx
Host key fingerprint is 13:1c:07:4f:85:e9:73:4e:9f:07:98:cf:8d:56:ec:19
+--[ RSA 2048]----+
|        o.o+.    |
|       . =o      |
|        o..  o . |
|         .o = .Eo|
|        S  = + Bo|
|         .  . B.+|
|             . . |
|                 |
|                 |
+-----------------+

holizz@holizz.ath.cx's password:
Comment 1 Damien Miller 2009-10-23 11:10:04 AEDT
It couldn't be *any* other machine in your known_hosts, it has to match the name that you are trying to connect to.
Comment 2 Damien Miller 2010-04-16 15:50:16 AEST
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1