ssh confusion
Patrick Fleming
plug at rwcinc.net
Sat Dec 1 08:34:05 MST 2012
You could try copying the ssh host key file so they are the same on both
images. That's what ssh is complaining about. Each time you reinstall
the OS it's going to regenerate the key.
On 11/30/12 20:56, Dazed_75 wrote:
> 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
>>
>
>
>
>
>
> ---------------------------------------------------
> 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
More information about the PLUG-discuss
mailing list