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.
Transfer this tar file to "COPSSH inst.directory\tmp" directory on your windows client(s). Extract contents of the tar archive.
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 :
cd /tmp/tar created directory
source install.sh
(This script generates a local logrep user and a home directory,
copies public key for ssh authentication and sets ownership and permissions)
NB! install.sh contains password information. Please remove tar created directory and tar archive itself after a successful setup.
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.