VMware vSphere

 View Only
  • 1.  Accessing system files through vcenter

    Posted May 25, 2020 10:43 AM

    I would like to know if it possible to edit esxi operating system files from vcenter/vsphere? In fact I would like to edit /etc/ssh/sshd_config file without ssh.



  • 2.  RE: Accessing system files through vcenter

    Posted May 25, 2020 11:25 AM

    I don’t thing you can change without ssh. you have to take ssh and login on esxi  then you can change the file as you are looking.  However, it may possible to change via powercli script but I ‘m not sure about it.



  • 3.  RE: Accessing system files through vcenter

    Posted May 25, 2020 05:16 PM

    I don't think so ... From the vCenter perspective, you have control over the ESXi management options, not the troubleshooting details settings. For example you can start/stop services/daemons of ESXi hosts like the sshd, but there is no need to change their config files from the management view of the vCenter server. However, I think you can achieve your goal by running a good (and maybe complex :smileywink:) PowerCLI script.



  • 4.  RE: Accessing system files through vcenter

    Posted May 25, 2020 05:41 PM

    What do you like to edit?



  • 5.  RE: Accessing system files through vcenter

    Posted May 25, 2020 07:28 PM

    I was trying to setup key based login instead of password method, but things went wrong and now when I want to ssh to the esxi node, I get public key error (access denied) and I can not even use password for sshing. See this topic.

    I can access the esxi web page (where I see administrations and VMs) by directly entering the node's ip or vcenter.

    If there is no way, I have to directly use KVM and monitor to enter the direct terminal of the node but it takes some days.

    If I can bring up a terminal from the esxi web page, I guess it will be fine. But didn't find such option in the menus.