Forum: Cfengine Help
Subject: Re: Cfengine key exchange issue
Author: kenneho
Link to topic: https://cfengine.com/forum/read.php?3,20528,20531#msg-20531
phnakarin Wrote:
-------------------------------------------------------
> You might want to add trustkey => "true"; to your
> copy_from body like the following;
>
>
> body copy_from example
> {
> # .. other settings ..
>
> trustkey => "true";
> }
>
>
> Another way is to run cf-runagent in interactive
> mode. When you run cf-runagent, unknown server
> keys are offered to you interactively (as with
> ssh) for you to accept or deny manually.
>
> Cheers,
> --Nakarin
Thanks for the quick reply.
The "trustkey => true" element is already present in my configuration. I've
pasted in the update.cf file here:
http://goo.gl/tno6i
Any thought on why it doesn't work?
I tried the cf-runagent apporach too, with this result:
--- output start ---
# cf-runagent -i -Hclient.example.local
WARNING - You do not have a public key from host client.exampl.elocal =
1.2.3.196
Do you want to accept one on trust? (yes/no)
--> yes
-> Will trust the key...
Unable to establish connection with client.example.local
--- output start ---
But I'm guessing this won't work until I get the client bootstrapped, right?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine