Hi Saboor, On Fri, Feb 25, 2011 at 11:29 AM, Saboor <[email protected]> wrote: > hello dan > check the permission and change the same but still facing the same error. > please help! >
That doesn't mean much. You'd have to show me what the permissions are, and what you did or I don't have enough information to help troubleshoot the problem. You can "solve" it easily: create the key as root, then chown it (and the .ssh directory) to the ossec user. dan > On Fri, Feb 25, 2011 at 1:04 AM, dan (ddp) <[email protected]> wrote: >> >> 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 >> > >> > > > > > -- > Regards, > Saboor Rafiq >
