2 Replies Latest reply on Nov 8, 2019 5:50 AM by larstr

    esxi 6.7 ssh permission

    adrianszver Lurker

      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.

        • 1. Re: esxi 6.7 ssh permission
          Gidrakos Enthusiast

          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

          • 2. Re: esxi 6.7 ssh permission
            larstr Virtuoso
            vExpert

            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