I am able to ssh to a machine on the LAN using either host name (my router has dnsmasq turned on) or IP.  That works just fine.  <br><br>My confusion started when I took a machine called lapdog2 which used to dual boot Vista and Ubuntu (through several releases) with both named lapdog2.  I would ssh into Ubuntu there with no problem.  <br>
<br>I just replaced the hard drive and only installed ubuntu 12.10 and LinuxMint 14 as a dual boot (yes, it is a bit redundant but I had my reasons) and named them lapdog0 and lapdog1 respectively.  I can still ssh by name or IP but ssh tells me every time that the host key for that IP differs from the one stored when it was lapdog2 (entry 8):  It does not seem to tell me there is any difference for lapdog0 (entry 22) vs lapdog1 (entry 23):<br>
<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">larry@hammerhead:~$ ssh lapdog1<br>Warning: the ECDSA host key for 'lapdog1' differs from the key for the IP address '192.168.2.124'<br>
Offending key for IP in /home/larry/.ssh/known_hosts:8<br>Matching host key in /home/larry/.ssh/known_hosts:23<br>Are you sure you want to continue connecting (yes/no)? yes<br>Welcome to Linux Mint 14 Nadia (GNU/Linux 3.5.0-17-generic i686)<br>
<br>Welcome to Linux Mint<br> * Documentation:  <a href="http://www.linuxmint.com">http://www.linuxmint.com</a><br>Last login: Fri Nov 30 16:40:24 2012 from <a href="http://hammerhead.thiel.org">hammerhead.thiel.org</a><br>
larry@lapdog1 ~ $ logout<br>Connection to lapdog1 closed.<br>larry@hammerhead:~$ ssh lapdog0<br>Warning: the ECDSA host key for 'lapdog0' differs from the key for the IP address '192.168.2.124'<br>Offending key for IP in /home/larry/.ssh/known_hosts:8<br>
Matching host key in /home/larry/.ssh/known_hosts:22<br>Are you sure you want to continue connecting (yes/no)? yes<br>Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-18-generic i686)<br><br> * Documentation:  <a href="https://help.ubuntu.com/">https://help.ubuntu.com/</a><br>
<br>14 packages can be updated.<br>13 updates are security updates.<br><br>Last login: Fri Nov 30 16:21:16 2012 from <a href="http://hammerhead.thiel.org">hammerhead.thiel.org</a><br>larry@lapdog0:~$ <br></blockquote><br>
The only thing I can think of is that the name does not matter (it was just resolved by dnsmasq to the same IP) and the old ubuntu was on a different kernel (one of you told me once that the kernel matters for ssh by ECDSA key).<br>
<br>But then why would keys 22 and 23 both be used and without complaint between them?  What am I missing?<br clear="all"><br>-- <br>Dazed_75 a.k.a. Larry<br><br>Please protect my address like I protect yours. When sending messages to multiple recipients, use the BCC: 
(Blind carbon copy). Remove addresses from a forwarded message body before clicking Send. <br><br>