help-cfengine
[Top][All Lists]
Advanced

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

Re: How to copy files from a Client back to the server


From: Akop Pogosian
Subject: Re: How to copy files from a Client back to the server
Date: Wed, 28 May 2003 16:42:21 -0700
User-agent: Mutt/1.4i

On Wed, May 28, 2003 at 02:56:53PM +0100, Garrett, Matt M SITI-ITDIEEE wrote:
> Folks / Mark
> 
> Another daft question from me again.
> 
> How to a copy a file from the client back to the server.
> 
> e.g
> CLIENT /etc/ssh/sshkeys -> Server /var/cfengine/outputs/ssh/sshkeys
> 
> I am sure there is a easy way but reading the docs did not seem to help.
> Or do I need to make each Client a Server and make them copy the file ?
> 
> 

Yes, I think that's the solution. However, at this point, you won't be
using the "pull" model for managing your systems. Speaking of SSH
keys, I prefer a different approach. We also keep a copy of all ssh
host keys on the cfengine server. However, they were collected
manually without help of cfengine. From then on, before installing a
new host, we first generate the ssh host key pairs on the cfengine
server and then have the client copy those keys securely from the
server using cfengine. This prevents the ssh host keys from being lost
when the machine is reinstalled and the we can easily generate the
site-wide ssh_known_hosts file on the server and then distribute it to
other places using cfengine.

-akop





reply via email to

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