VMware Cloud Community
nava_thulasi39

Need to verify my AD credentials works in multiple esxi hosts

Hello,

I need to log into multiple esxi hosts with my AD credentails to verify it's working or not. Most of the esxi servers are member of AD.

Is there any to script it my AD credentials logging into esxi servers through SSH by Powercli?

Eagerly waiting for reply if we have the option.

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

To be able to SSH with AD credentials into an ESXi server, a couple of prerequisites need to be in place:

  • SSH needs to be started on the ESXi
  • the AD account needs to be added to the file /etc/security/access.conf
  • the AD entry in that file needs to use the NetBIOS notation, i.e +:domain\user:ALL

Are these all present ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
nava_thulasi39

Hi LucD,

Thanks for the Quick reply.

These two prerequesties are already in place.

  • the AD account needs to be added to the file /etc/security/access.conf
  • the AD entry in that file needs to use the NetBIOS notation, i.e +:domain\user:ALL


So i need to enable SSH on the esxi hosts and need to login with my AD credentials. Looking for your response.



If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
LucD
Leadership
Leadership

That is correct.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos