How to setup a Logrep client on Windows NT/2000 ?

Requirements

Procedure

  1. Create a client setup package on your server :

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

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

  2. Transfer this tar file to "COPSSH inst.directory\tmp" directory on your windows client(s). Extract contents of the tar archive.

  3. Start an interactive BASH shell session on your client :

    bin\bash --login -i
    (Assuming that you run this command from COPSSH inst.directory)

    Run the following commands from this shell :

    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 windows)

    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.