help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cfengine over ssh tunnel


From: Matthew Palmer
Subject: Re: Cfengine over ssh tunnel
Date: Sat, 15 Oct 2005 09:36:56 +1000
User-agent: Mutt/1.5.6+20040907i

On Fri, Oct 14, 2005 at 02:37:33PM -0500, Pletan, Ray wrote:
> Has anyone gotten cfengine working using ssh tunneling, i.e.
>   ssh root@client <BLOCKED::mailto:root@client>  -R 5308:localhost:5308
> /var/cfengine/bin/cfagent -v

Yes, and it roxors very hard.

> update.conf refuses to overwrite itself with messages such as:
>   cf:cfengine::/var/cfengine/inputs/update.conf:54: Image loop: file/dir
> copies to itself or missing destination file 

What we do to stop this (and because we're in a heterogeneous environment
with regard to SSH/non-SSH hosts) is to have everyone contact the host
'cfserver', but on the machines that we SSH to, there is an entry in
/etc/hosts which forces the 'cfserver' hostname to be 127.0.0.1.  This has
completely solved the above error message for us.

- Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]