Hi,

Could you post the log entries? Also, an ssh -vvv output would help to see 
what is going on. It is clearly a connection problem, but hard to diagnose 
based on what you have posted.

Kat

On Friday, March 17, 2017 at 10:20:58 PM UTC-5, Marcin Gołębiowski wrote:
>
> I can't seem to make the agentless monitoring to work. I added two remote 
> boxes with /var/ossec/agentless/register_host.sh and configured 
> paswordless connection generating ssh keys for user ossec. However after 
> restarting ossec the connection to remote server fails every time. 
> Ossec.log shows: ossec-agentlessd: ERROR: ssh_integrity_check_linux: 
> us...@remote.server.pl <javascript:>: Public key authentication failed to 
> host: us...@remote.server.pl <javascript:>. I tried to connect wit a 
> password but this time I got timeout: ERROR: ssh_integrity_check_linux: 
> u...@remote.server.pl <javascript:>: Timeout while connecting to host: 
> us...@remote.server.pl <javascript:>. I checked .passlist file and 
> passwords are correct. What is more - I am able to ssh to remote server 
> using id_rsa generated for ossec user so theoretically ossec should connect 
> with NOPASS option. But it doesn't. I am in the dark. Server is Ubuntu 
> Server 16.04, OSSEC verson 2.8.3, expect installed, firewall disabled. Any 
> ideas?
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to