<div dir="ltr">On 12 November 2013 09:40, Reindl Harald <span dir="ltr"><<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">jesus christ *from* "AAA" *to* "==" means *the whole valid key*</span><br>
</div>
because quote two complete keys is a little bit long<br>
<br>
so what is there invalid<br>
<div class="im"><br></div></blockquote><div><br></div><div>Reindl please calm down ... step away from the keyboard then come back in fresh temperament.</div><div><br></div><div>If you re-read your original message it is somewhat ambiguous as it can easily be read (and indeed I first read it as) that you changed AAA to == ... ie just those characters.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
</div>you ssh command must have some magic that it can distinct if the<br>
server changed it's key or the one in "known_hosts"<br>
<div class="im"><br></div></blockquote><div><br></div><div>Did you edit the key for both the IP address and the hostname in known_hosts?</div><div><br></div><div>It's feasible that if you only changed the hostname and not the IP based one behaviour would be different.</div>
<div><br></div><div>Indeed if I just ssh-keygen -R fqdn and then ssh to a box after the key has changed there will be similar complaints as it verifies on the latter too.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and now you can explain me where is the difference in the key on the<br>
server has changed and having a different but valid key than the<br>
servers one on "known_hosts"<br></blockquote><div><br></div><div>It can't... but you have to be sure you have edited any entries that may apply and that it is absolutely correct on the change ... frankly it's quicker and simpler to test via changing the target host's key rather than your known_hosts.</div>
<div><br></div><div>James</div></div></div></div>