Actually it's list of all config files those are available with web access:
...
<configfileinfo>
<urireference>/host/vmware.lic</urireference>
<path>/etc/vmware/vmware.lic</path>
<displayname>vmware.lic</displayname>
<mimetype>text/plain</mimetype>
<method>GET</method>
<method>HEAD</method>
<method>PUT</method>
</configfileinfo>
<configfileinfo>
<urireference>/host/vmware_config</urireference>
<path>/etc/vmware/config</path>
<displayname>vmware_config</displayname>
<mimetype>text/plain</mimetype>
<method>GET</method>
<method>HEAD</method>
<method>PUT</method>
</configfileinfo>
<configfileinfo>
<urireference>/host/vmware_configrules</urireference>
<path>/etc/vmware/configrules</path>
<displayname>vmware_configrules</displayname>
<mimetype>text/plain</mimetype>
<method>GET</method>
<method>HEAD</method>
<method>PUT</method>
</configfileinfo>
...
Hi MaxBread:
ReplyDeletePlease see if you can help me here. I'm looking to
read the SSH configuration on ESX Host, for this I should be able to
read the content of the file /etc/ssh/sshd_config. The vifs does not
allow files other than host config and log files also direct editing of
etc/vmware/hostd/webAccessibleConfigFiles.xml is not supported, so I
will not be able to configure the ssh file here to enable the webaccess.
Have you come across any tools which can help me read the ESX's any
file content. I know SCP like utils can be used, however I'm looking at
automating this for N number of hosts. Please advice.
Thanks,
Parash
Hi Parash,
ReplyDeletesorry, I don't know ways to read sshd_config remotely.