Closed Phabbits closed 2 years ago
Need to restart the server and client after adding keys in order for them to connect.
/var/ossec/bin/ossec-control restart
Sources: https://www.looklinux.com/how-to-install-configure-ossec-client-agent-mode-on-linux/ https://defragged.org/ossec/how-to-install-ossec/
Running
sudo /var/ossec/bin/manage_agents
, and listing agents, we see all agents are added:To check if an agent is connected, we run
sudo /var/ossec/bin/agent_control -i 004
which reports:The key is added on Win2008, and the agent is running.