Hi, After the key is created on the ossec system, just copy the generated public key to /home/<user>/.ssh/authorized_keys in the remote box. Something like:
ossec-server # sudo -u ossec ssh-keygen ossec-server # scp /var/ossec/.ssh/id*.pub u...@othersystem:/tmp/ othersystem $ cat /tmp/id*.pub >> ~/.ssh/authorized_keys2 *no, you don't need a ossec user on the remote host... Hope it helps. -- Daniel B. Cid dcid ( at ) ossec.net On Wed, Mar 4, 2009 at 5:49 PM, <[email protected]> wrote: > > If anyone could shed more light on setting the agentless monitoring up > via this method I would appreciate it. > > Once the key is created via sudo -u ossec ssh-keygen where do you need > to copy the key to on the remote host? > > Does a ossec user need to exist on the remote host? > > Thanks >
