Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: How to configure a client 
machine to contact the policy server and downloads updates?
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,19909,20004#msg-20004

Nick Anderson Wrote:
-------------------------------------------------------
> That brings up the question how can I instruct SSH
> to automatically save
> a host fingerprint on initial connection.

The key is StrictHostKeyChecking inside the ssh_config. The default behaviour 
is to "ask" so 

(1) you might want to change it to "no" (/etc/ssh/ssh_config) to accept new 
host keys to the user known hosts files.
(2) create you own ~/.ssh/config to override the global parameter
(3) run ssh with the option.
   $ ssh account@ -o StrictHostKeyChecking=no

Cheers,
--Nakarin

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to