check_by_ssh Host key verification failed

Hi,

does anyone have a clue what is going on, I can run the check_by_ssh plugin from the command line, but when nagios runs it I get a Host key verification failed error

[quote=“randers29259”]Hi,

does anyone have a clue what is going on, I can run the check_by_ssh plugin from the command line, but when nagios runs it I get a Host key verification failed error
[/quote]

Stupid question maybe, but you do the manual check as the same user your nagios runs?

M4