VMware Cloud Community
adrianszver
Contributor
Contributor

esxi 6.7 ssh permission

Hi,

I cann't find good information about ssh permission and ups shutdown esxi and vm.

I have couple of questions:

1. What is the best option to set esxi and vm to shutdown when ups is low? - ups is control by usb.

2. How to set permission to ssh? - i want to connect via ssh, user haven't administration right.

0 Kudos
2 Replies
Gidrakos
Hot Shot
Hot Shot

1. Depending on your UPS, most large suppliers actually have configurations that will allow fairly seamless connections to vCenter where you can give them options to control the servers in the event of power outages. Of course, you'll want to tune them properly so things don't shut down completely on power blips. Having the UPS control the host will in turn have the host gracefully shut down VMs.

2. You can enable SSH for ESXi either through the web interface or directly through the console, see: VMware Knowledge Base

0 Kudos
larstr
Champion
Champion

adrianszver,

1. Check the UPS vendors recommendations for VMware vSphere.

2. You shouldn't give your users ssh access. On ESXi ssh is meant for troubleshooting only. You can set granular permissions in vCenter and users can access it either through web interfaces (html5 or flash) or command line tools (PowerCLI, Data Center CLI, pyviomi, etc).

Lars

0 Kudos