What tool do you used for generate client.keys file in C:\Program Files
\ossec-agent ?

i have a key (generated by ossec server)
MDQ4IHNiMSAxMC4xODAuNzQuNCBlNTcyMDFkMTkzMjc4ZThlNTlhOWY4OTJiOGUzZTliMmY3NDM2YzIzNmNjNjEyOTlkOGQyNjYxZmY2NDBlYmQ

then i try to write in client.keys this line :
041 xx5-xxx 10.180.74.3
MDQ4IHNiMSAxMC4xODAuNzQuNCBlNTcyMDFkMTkzMjc4ZThlNTlhOWY4OTJiOGUzZTliMmY3NDM2YzIzNmNjNjEyOTlkOGQyNjYxZmY2NDBlYmQ

and.....   ossec-agent NOT started!

If i used C:\Program Files\ossec-agent\manage_agents  tool to import
this key - Its WORK, but file client.keys changed to
041 xx5-xxx 10.180.74.3
e57201d193278e8e59a9f892b8e3e9b2f7436c236cc61299d8d2661ff640ebd1

Question: how can i write a AGENT_KEY to a multiply agents in windows
domain without C:\Program Files\ossec-agent\manage_agents  tool

On 11 авг, 05:36, Michael Starks <[email protected]> wrote:
> On 08/10/2010 04:54 AM, smokey wrote:
>
> > Well if manage_agent.exe would support /y switch (force adding new
> > agent silently) then everything would be much easier.
>
> You don't necessarily need this tool. You can create the client.keys
> file on the Windows box in the ossec-agent directory. Just put the line
> for that particular agent from the manager client.keys file in there.
> Then restart OSSEC on the agent. I have a batch file which does this all
> remotely which I will release when I have a chance to clean it up and
> test it some more.
>
> --
> Michael Starks
> [I] Immutable Securityhttp://www.immutablesecurity.com

Reply via email to