Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@

Postby trrampaul » Thu Aug 15, 2019 11:57 am

Good day,

I have some Linux servers returning this error (it's an inherited problem, apparently it was working before):

Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Any ideas on how to rectify? I removed the server from known_hosts etc.
trrampaul
 
Posts: 5
Joined: Thu Aug 15, 2019 10:06 am

Re: Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@

Postby mbellerue » Thu Aug 15, 2019 12:36 pm

That is usually the output that SSH gives when the remote system's identity changes. You've removed the server from known_hosts, and that should do it. The next thing to try would be logging into the Nagios server, su - nagios, and then try to ssh to the server you want to monitor. That will get you the full output, and we can troubleshoot from there.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mbellerue
 
Posts: 404
Joined: Fri Jul 12, 2019 11:10 am

Re: Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@

Postby trrampaul » Thu Aug 15, 2019 1:33 pm

su - nagios (from nagios server)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
b7:72:4c:b6:10:f1:67:fb:49:99:f0:c6:83:76:ce:ec.
Please contact your system administrator.
Add correct host key in /home/nagios/.ssh/known_hosts to get rid of this message.
Offending key in /home/nagios/.ssh/known_hosts:43
RSA host key for 172.20.10.210 has changed and you have requested strict checking.
Host key verification failed.
trrampaul
 
Posts: 5
Joined: Thu Aug 15, 2019 10:06 am

Re: Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@

Postby mbellerue » Thu Aug 15, 2019 2:35 pm

Offending key in /home/nagios/.ssh/known_hosts:43


So maybe the host key was in known_hosts twice? It's saying it can find it at line 43. I'd recommend making a backup of the nagios/.ssh/known_hosts file, delete line 43, and try again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mbellerue
 
Posts: 404
Joined: Fri Jul 12, 2019 11:10 am


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 25 guests