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.
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@dhermilly.dk>
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@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-user



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