Discussion:
[Check_mk (english)] alert handler ssh error (permission denied)
Paul Dott
2018-09-26 05:12:59 UTC
Permalink
I have setup a remote handler via ssh. (linux), however I see the following
error in alerts.log on my slave;

2018-09-25 21:07:50 Handler [14874] linux_remote myhost;Aggr Logger Health
stopped: Permission denied, please try again.\nReceived disconnect from
xx.xx.xx.xx port 22:2: Too many authentication failures\nAuthentication
failed.

I deployed the remote handler via agent bakery and have verified the key
exists on 'myhost' in /root/.ssh/authorized_keys

I also see the config and keys in ~etc/check_mk/conf.d/wato/rules.mk on my
slave server, which I think is where the alert handler obtains the SSH key
for access.

Have verified root login is permitted in sshd_config

What could I be doing wrong here?
Paul Dott
2018-09-26 19:05:40 UTC
Permalink
One other thing of note, this issue doesn't happen on my standalone system,
only on my distributed setup.
Post by Paul Dott
I have setup a remote handler via ssh. (linux), however I see the
following error in alerts.log on my slave;
2018-09-25 21:07:50 Handler [14874] linux_remote myhost;Aggr Logger Health
stopped: Permission denied, please try again.\nReceived disconnect from
xx.xx.xx.xx port 22:2: Too many authentication failures\nAuthentication
failed.
I deployed the remote handler via agent bakery and have verified the key
exists on 'myhost' in /root/.ssh/authorized_keys
I also see the config and keys in ~etc/check_mk/conf.d/wato/rules.mk on
my slave server, which I think is where the alert handler obtains the SSH
key for access.
Have verified root login is permitted in sshd_config
What could I be doing wrong here?
Loading...