How to setup a Logrep client on Linux ?

Requirements

Procedure

  1. Create a client setup package on your server :

    perl bin/logrep-admin.pl --makeclient linux
    (Assuming that you run this command from logrep inst.directory on linux)

    This command creates a tar file containing a shell script and public key file for ssh authentication.

  2. Transfer this tar file to a temporary directory on your linux client(s). Extract contents of the tar archive.

  3. Run the following commands :

    NB! install.sh contains password information. Please remove tar created directory and tar archive itself after a successful setup.

  4. Establish an ssh session on your server :

    bin/util/bin/ssh -l logrep -i etc/logrep.key "client ip/name" echo EVERYTHING SEEMS OK!
    (Assuming that you run this command from logrep inst.directory and with default configuration values on linux)

    You get a question about the authenticity of your client. Answer yes to add your client permanently to the list of known hosts.

    Your client setup is done successfully if you get the message "EVERYTHING SEEMS OK!" without any further prompting.