Sometimes you need to script a job that SSH’s into another ESX host, problem is you will be prompted for a password—pretty much taking out all the automation aspect of a script.
There is a way around this. Simply generate a public SSH key and place it in an authorized_keys file on your 2nd, 3rd, 4th, etc. ESX host.
Posted under ESX 3.5 Tips, ESXi 3.5 Tips, Security
This post was written by Rick Scherer on January 16, 2009

