Cockpit should display the command used to resolve the situation
(similar to what the ssh command does).

Which version of Cockpit are you using? I think there were a few
versions that didn't have that message displayed. 0.103 fixed the
problem if I remember correctly.

The command looks like this:

ssh-keygen -R myhost.mydomain -f /var/lib/cockpit/known_hosts

Cheers,

Stef

On 31.08.2016 12:43, Fujisan wrote:
> Hello,
> I'm having trouble adding a host to cockpit.
> It was already listed in cockpit but then I reinstalled fedora on it,
> removed the host from cockpit and now I get the following message when I
> try to add it again:
> 
> 
>         Incorrect Host Key
>         The key of *myhost.mydomain* does not match the key previously
>         in use. Unless this machine was recently replaced, it is likely
>         that someone is trying to attack your connection to this machine.
> 
> How can I solve this?
> 
> Thank you.
> F.
> 
> 
> _______________________________________________
> cockpit-devel mailing list
> [email protected]
> https://lists.fedorahosted.org/admin/lists/[email protected]
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cockpit-devel mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to