[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Cfengine over ssh tunnel
From: |
Martin, Jason H |
Subject: |
RE: Cfengine over ssh tunnel |
Date: |
Fri, 14 Oct 2005 12:49:19 -0700 |
'localhost' is a special case of the copy functionality:
if ((strcmp(sourcefile,destfile) == 0) &&
(strcmp(ip->server,"localhost") == 0))
{
snprintf(OUTPUT,CF_BUFSIZE*2,"Image loop: file/dir %s copies to
itself",sourcefile);
CfLog(cfinform,OUTPUT,"");
return;
}
You may have better luck connecting to the ip address of the host
instead of localhost (ie, 10.0.0.5 instead of 127.0.0.1). You may have
to use the -g option to ssh to allow this.
-Jason Martin
-----Original Message-----
From: help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org
[mailto:help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org] On
Behalf Of Pletan, Ray
Sent: Friday, October 14, 2005 12:38 PM
To: help-cfengine@gnu.org
Subject: Cfengine over ssh tunnel
Has anyone gotten cfengine working using ssh tunneling, i.e.
ssh root@client -R 5308:localhost:5308 /var/cfengine/bin/cfagent -v
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