Page 2 of 2

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

Posted: Tue Sep 10, 2019 1:45 pm
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

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

Posted: Tue Sep 10, 2019 4:25 pm
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/

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

Posted: Wed Sep 11, 2019 11:36 am
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

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

Posted: Wed Sep 11, 2019 1:18 pm
by mbellerue
Excellent, glad you were able to get this working! Closing thread.