Hi Dan I am trying to install OSSEC Agentless for monitoring .Successfully added the IP of the host in the 'register_host.sh' (in var/ossec/agentless)and the script 'ssh_integrity_check_linux' in the ossec.conf (in var/ossec/etc/ossec.conf).
While generating the public/private key using the command in ossec :'sudo -u ossec ssh-keygen -t rsa' I was encountering the error "Could not create directory / var/ossec/.ssh' For rectifying this error I had change the file permission of OSSEC to 777 . I have scp the public key from server to the host by running the command scp /var/ossec/.ssh/id_rsa.pub [email protected]:/root/.ssh/authorized_keys it has successfully been added to the host Now while restarting the ossec on my server and checking the logs of the same I encounter an error which is : 2011/02/28 18:19:03 ossec-agentlessd: ERROR: ssh_integrity_check_linux: [email protected]: Timeout while connecting to host: [email protected] Please Advise -- Regards, Saboor Rafiq
