SSH Login to Vmware ESXi with ssh keys
To login with ssh private key in Vmware ESXi, store the public key in the following file: /etc/ssh/keys-root/authorized_keys
Code:
# cat mykey.pub >> /etc/ssh/keys-root/authorized_keys
Make sure to use double angle brackets to avoid losing the contents of /etc/ssh/keys-root/authorized_keys.
_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com