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_keysit has successfully been added to the hostNow 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]
Another pt to be noted here is that both the OSSEC server and agent are in the same network. Pls suggest...thanks Regards Tanishk Lakhaani Sent from BlackBerry® on Airtel
