If you are not using something such as Puppet/Chef and want a crude, quick way 
to connect a large number of OSSEC Agents to an OSSEC Manager, try:
Generate the necessary keys as detailed on 
http://dcid.me/blog/2011/01/automatically-creating-and-setting-up-the-agent-keys/.
Start ossec-authd on the OSSEC Manager (aka Server).  Be sure that any 
firewalls between your Manager and the Agents are opened appropriately (tcp 
port 1515 by "default").
Use something like Cluster SSH to have each OSSEC Agent run the agent-auth 
command.  
The result will be that each Agent will create a unique key for each server.

An alternative is to generate the keys in bulk--this is a new feature but it 
sounds like it would be much easier with your experience level to do the above 
suggestion.



On Nov 29, 2012, at 11:42 AM, rezgui mohamed <[email protected]> wrote:

> Dear support,
> we can do the copy of the key trough the command line scp?
> Best regard

Reply via email to