Re: Can we have better ssh fingerprint collision messages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 12.11.2013 03:11, schrieb Chris Adams:
> Once upon a time, Reindl Harald <h.reindl@xxxxxxxxxxxxx> said:
>> these lines are not written by hand and i replaced the key from "AAA" to "=="
>> of the first one with the  key off a completly different host in the file
>> resulting in the message i posted by ssh "harry@srv-rhsoft"
> 
> Replacing characters is making entries "by hand".  Replacing the first
> characters with "==" creates an invalid key (it is base64 encoded which
> cannot have "=" characters except at the end for padding as needed); it
> could be OpenSSH ignores invalid lines (I don't know).

jesus christ *from* "AAA" *to* "==" means *the whole valid key*
because quote two complete keys is a little bit long

so what is there invalid

>>> If there is no match to the host, you get the output you described; if
>>> there is a match but the key is different, you get the original poster's
>>> desired output.  This is standard (and I believe non-configurable)
>>> OpenSSH behavior going back to the beginning (and IIRC to the original
>>> SSH code before OpenSSH started)
>>
>> and as i have proven this is *not true* in all situations - period
> 
> That is incorrect.  The way to "prove" it is to connect to a host,
> change its host key (easiest way is to move /etc/ssh/*key* aside and
> restart sshd), and connect again.

you ssh command must have some magic that it can distinct if the
server changed it's key or the one in "known_hosts"

> Otherwise, show a case that didn't involve editing the known_hosts file.
> The OpenSSH code only works one way

and now you can explain me where is the difference in the key on the
server has changed and having a different but valid key than the
servers one on "known_hosts"

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux