Enable ssh-keys login in VMWare ESXI
- Via SSH:
ssh-copy-id root@esxihost
Enter the current password.
ssh root@esxihost
Enter the current password again.
After you are login with password just copy from local directory .ssh/authorized_keys to the /etc/ssh/keys-root/auhtorized_keys
root@esxihost# cat .ssh/authorized_keys >> /etc/ssh/keys-root/authorized_keys
root@esxihost# exit
And now you can login with ssh key to the VMWare ESXI
Comments
Display comments as Linear | Threaded