How to fetch ESX config with SSH

If you cant connect to ESX with SSH
If you can, you can scroll down to ” SSH to EXS host login with the root”


Login to Vcenter with Vmwarevsphere web client
Pick Esx, pick Manage to the left, then you will have a menu called Settings.
Then you go to the Security Profile.

ESX config with SSH 1


Now you can click on Edit (not sure if it’s necessary to mark SSH?)

ESX config with SSH 2


Mark SSH and click on Start or Stop depending on what you want to do

ESX config with SSH 3


SSH to EXS host login with root

Run this command: vim-cmd hostsvc/firmware/backup_config
Bundle can be downloaded at : http://*/downloads/random.url/configBundle-localhost.tgz
Replace * with IP for that ESX host.
Surf to that URL and you can download the config file

And you’re done.


Don’t forget to turn off SSH to EXS if that you want

Leave a Reply

Your email address will not be published. Required fields are marked *