Pascal d'Hermilly | 24 Apr 10:55 2013
Picon

Re: bug 106 - SSH Host Key Validation fails when ECDSA is already known

On 24-04-2013 10:40, Anders Bruun Olsen wrote:
For me, removing the key with 'ssh-keygen -R' works fine to make x2goclient stop complaining. When x2goclient adds a host-key for me, it adds to ~/.ssh/known_hosts.
Apparently I had added a ssh-proxy in order to debug before I did 'ssh-keygen -R' which meant I had to remove another key. thanks.

Anyway this bug is triggered by doing a ssh to the machine before using the x2goclient. Not an unnormal pattern.
Essentially this error is a false positive and hinting the user what needs to be done would be a good idea.

Pascal

Have you made sure you removed all versions of the hostname? If your server is called server.domain.tld, be sure to remove both 'server' and 'server.domain.tld' with 'ssh-keygen -R'. Alternatively you can delete ~/.ssh/known_hosts, which will mean having to re-accept host-keys for all other hosts you normally ssh into.


2013/4/24 Pascal d'Hermilly <pascal-qxmA0yf9fwHUuOfXrH8iyw@public.gmane.org>
How do I remove the host key?

This bug is quite annoying. Especially because it's easy to trigger and the prompt dialog doesn't explaint how to remove the existing key.
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=106

I already tried 'ssh-keygen -R [host]' with no effect. and according to the bug report this is not how it's done anymore...

Pascal

_______________________________________________
X2Go-User mailing list
X2Go-User-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/x2go-user



--
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)

<div>
    <div class="moz-cite-prefix">On 24-04-2013 10:40, Anders Bruun Olsen
      wrote:<br>
</div>
    <blockquote cite="mid:CAFJm-UOSB9RkSgYvgrkDvQSLdfZZzjajc4QtXZMYnOxT3LWF2w@..." type="cite">
      <div dir="ltr">For me, removing the key with 'ssh-keygen -R' works
        fine to make x2goclient stop complaining. When x2goclient adds a
        host-key for me, it adds to ~/.ssh/known_hosts.</div>
    </blockquote>
    Apparently I had added a ssh-proxy in order to debug before I did
    'ssh-keygen -R' which meant I had to remove another key. thanks.<br><br>
    Anyway this bug is triggered by doing a ssh to the machine before
    using the x2goclient. Not an unnormal pattern.<br>
    Essentially this error is a false positive and hinting the user what
    needs to be done would be a good idea. <br><br>
    Pascal<br><br><blockquote cite="mid:CAFJm-UOSB9RkSgYvgrkDvQSLdfZZzjajc4QtXZMYnOxT3LWF2w@..." type="cite">
      <div dir="ltr">
        <div>Have you made sure you removed all versions of the
          hostname? If your server is called server.domain.tld, be sure
          to remove both 'server' and 'server.domain.tld' with
          'ssh-keygen -R'. Alternatively you can delete
          ~/.ssh/known_hosts, which will mean having to re-accept
          host-keys for all other hosts you normally ssh into.</div>
      </div>
      <div class="gmail_extra">
<br><br><div class="gmail_quote">2013/4/24 Pascal d'Hermilly <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:pascal@..." target="_blank">pascal@...</a>&gt;</span><br><blockquote class="gmail_quote">
            <div text="#000000" bgcolor="#FFFFFF"> How do I remove the
              host key?<br><br>
              This bug is quite annoying. Especially because it's easy
              to trigger and the prompt dialog doesn't explaint how to
              remove the existing key.<br><a moz-do-not-send="true" href="http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=106" target="_blank">http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=106</a><br><br>
              I already tried 'ssh-keygen -R [host]' with no effect. and
              according to the bug report this is not how it's done
              anymore...<span class="HOEnZb"><br><br>
                  Pascal<br></span>
</div>
            <br>
            _______________________________________________<br>
            X2Go-User mailing list<br><a moz-do-not-send="true" href="mailto:X2Go-User@...">X2Go-User@...</a><br><a moz-do-not-send="true" href="https://lists.berlios.de/mailman/listinfo/x2go-user" target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-user</a><br>
</blockquote>
        </div>
        <br><br clear="all"><div><br></div>
        -- <br>
        Anders Bruun Olsen<br>
        It-ansvarlig<br>
        Det Danske Sprog- og Litteraturselskab<br>
        (Society for Danish Language and Literature)<br>
</div>
    </blockquote>
    <br>
</div>

Gmane