I installed the HP "hpmgmt-8.0.0-vmware3x.tgz" and configured everything and it reports to the CIM server. Now I am trying to register the host server and I am getting the following error...
SSH Public Key Authentication failed.
And somewhere in the log it says...
SSH public key authentication failed. target system might not be configured. Please run mxagentconfig -a from a commandline window.
I did the following to enable SSH...
vi /etc/ssh/sshd_config
Change the line that says PermitRootLogin from “no” to “yes”
Restart sshd with command /etc/init.d/sshd restart
Any ideas?
Login to ESX console via SSH.
cd /etc/vmware/ssl
rm * (remove all files - certificates)
service mgmt-vmware restart
That should fix it. It will regenerate the keys and restart the service.
WTF does that have to do with his problem? He's not having issues with VirtualCenter.
What the OP really need to do is configured shared key SSH for the user that he is using, as per the error. Lookup ssh-keygen to set that up, or call HP support for help on how to setup shared keys.
--Matt
Hello,
Integrating HPSIM with ESX is not trivial if you wish to maintain your default security stance. Check out http://www.astroarch.com/wiki/index.php/HPSIM_and_ESX for information on how to achieve this as well as maintain your hpsmh connectivity.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization