blob: 233909f14bd2d328939367b40c5f4f3536b2930b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install(){
cat <<INFO
To complete the installation process, from an ossec-hids-server instance
create a new agent with the IP of the ossec-hids-agent machine
sudo /var/lib/ossec-hids/bin/manage_agents -a 10.0.0.2 -n remote_agent
sudo cat /var/lib/ossec-hids/etc/client.keys
Then, in this machine, copy the secret and edit the configuration file
sudo nano /var/lib/ossec-hids/etc/client.keys
sudo nano /var/lib/ossec-hids/etc/ossec.conf
Then, start the agent
sudo systemctl start ossec-agent.target
INFO
}
|