ESXi is a funny beast when it comes to SSH keys, and there’s a lot of misinformation about on how to configure them persistently, not to mention security FUD. ESXi uses an in-memory only filesystem for the bootable portion of it, so following the published guide will only get you so far. You’ll find that after rebooting, your changes will no longer be there. You can work around this limitation by rebuilding the keys on boot using /etc/rc.local.d/local.sh. Somewhere before the exit 0, add ...