Failing SSH Configuration Test from Nagios XI to VMA host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: Failing SSH Configuration Test from Nagios XI to VMA hos

Post by bsanjay »

Hi mbellerue,
We did copied the known_hosts and id_dsa to /var/www/.ssh again.

We are able to do passwordless ssh to VMA with Nagios and Apache user from Nagios Server through terminal but for some reason it's failing from VMA VMWare Settings Manager GUI with the same error.

Please do the needful,

Best Regards,
BSanjay
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Failing SSH Configuration Test from Nagios XI to VMA hos

Post by Box293 »

What Operating System is your XI server on? I think with EL7 there were some changes.

The feedback I from a user for this was:

I had to copy directory (/var/www/.ssh) including files to /usr/share/httpd/ in order to get the VMware Settings Manager working:

cp -pr /var/www/.ssh /usr/share/httpd/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: Failing SSH Configuration Test from Nagios XI to VMA hos

Post by bsanjay »

Hi Box293,
We got it working with below permission and ownership setting on /var/www/.ssh,
sudo chmod 0700 /var/www/.ssh
sudo chmod 600 /var/www/.ssh/id_dsa
sudo chmod 644 /var/www/.ssh/known_hosts
sudo chown -R apache:apache /var/www/.ssh


Best Regards,
BSanjay
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Failing SSH Configuration Test from Nagios XI to VMA hos

Post by mbellerue »

Excellent, glad you were able to get this working! Closing thread.
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!
Locked