Check the permissions of /var/ossec/.ssh. If that directory does not
exist, create it. Make sure the ossec user has write permissions to
/var/ossec/.ssh

On Thu, Feb 24, 2011 at 12:07 PM, Saboor <[email protected]> wrote:
> Hello
>
> I am trying to install OSSEC Agentless for monitoring on my dashboard.After
> successfully adding the IP of my dashboard in the 'register_host.sh' (in
> /var/ossec/agentless)and adding the script of 'ssh_integrity_check_linux' in
> the ossec.conf (in var/ossec/etc/ossec.conf) I'm encountering the error
> "Could not create directory /var/ossec/.ssh' while generating the
> public/private key using the command in ossec :'sudo -u ossec ssh-keygen -t
> rsa'
> Screen-shot of the same has been attached in the msdoc.
>
> --
>
> Regards,
> Saboor Rafiq
>
>

Reply via email to