/etc/ssh/keys-root/authorized_keys
is the authorized_keys location for the root user on ESXi 7.
Then, add your ESXi host to the ~/.ssh/config
host esxihost
#PreferredAuthentications keyboard-interactive,password
PubkeyAuthentication yes
ForwardX11 no
User root