ssh confusion

Dazed_75 lthielster at gmail.com
Fri Nov 30 20:56:58 MST 2012


On Fri, Nov 30, 2012 at 5:29 PM, der.hans <PLUGd at lufthans.com> wrote:

> Am 30. Nov, 2012 schwätzte Dazed_75 so:
>
> moin moin,
>
>
>  Interesting.  I deleted entry 8 and then ssh'd to lapdog0 with no
>> complaint.  Logged out, rebooted that machine to Mint and then ssh'd into
>> lapdog1 and that complained about then new entry 23 for lapdog0.
>>
>
> Yeah, line 8 was probably your old entry for lapdog2.


Yes, I said so in the first post.

>
>
>  It appears that ssh will make an entry in known_hosts for each IP and
>> something (host name, kernel, tennis ball) combination, but only complains
>> about the 1st mis-match it finds.  Whatever the "something" is is not
>> clear
>> as I got no complaint after deleting entry 8 (from the lapdog2 days) and
>> sshing in to lapdog0.  Puzzling.
>>
>
> It tracks hostname and IP combinations and warns you if the IP has another
> entry. Presuming both lapdog0 and lapdog1 are properly in known_hosts I'd
> think the warning would go away.
>

no, it does not.  I did describe the circumstances though I tend to use
more words than many folks do.  As I said, since both lapdog0 and lapdog1
are the same machine (with the same mac address) just booted into different
OSes they both get the same IP from DHCP.   That seems to land two entries
for the same IP in known_hosts and that seems to make ssh complain.

>
> Does ssh -v explain it?
>

I did not think to try that and it is too late as I am re-installing that
machine to test out a couple of things.

Thanks for the feedback guys!

>
> ciao,
>
> der.hans
> --
> #  http://www.LuftHans.com/        http://www.LuftHans.com/**Classes/<http://www.LuftHans.com/Classes/>
> #  "The world is a dangerous place to live, not because of the people who
> #  are evil, but because of the people who don't do anything about it."
> #    --Albert Einstein
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20121130/c73af433/attachment.html>


More information about the PLUG-discuss mailing list