ssh-config-gen-esxi

This code generates ssh_config from VMware ESXi machine list.

Usage

  1. Add include statement in ssh_config as follows
echo "Include ~/.ssh/config.gen" >> ~/.ssh/config
  1. Run collect.sh
bash collect.sh
  1. Verify the generated ssh_config
cat ~/.ssh/config.gen