Deployment to remote hosts

samhain includes a system to facilitate deployment of the client to remote hosts. To use this system, the following requirements must be met:

  1. You must have compiled the server (yule) on the local host from which you distribute, and it must be in your PATH

  2. For each operating system type, there must be (at least) one host where development tools (C compiler, make, strip) are available to build the client.

  3. On each remote host, you must be able to login as root with ssh.

There are two major parts of this system:

After building the client on one host of some system type, the executable will automatically be retrieved and stored in profiles/os-machine/ for further distribution. No development tools (compiler, make, strip, install) are required then on other hosts of the same type for deployment of the compiled executable to them.

deploy.sh takes the following arguments:

Usage Notes